From 9997ff021503e4f323f084fb7e64618d209d0126 Mon Sep 17 00:00:00 2001 From: aiongg <67543387+aiongg@users.noreply.github.com> Date: Tue, 27 Oct 2026 21:09:33 -0400 Subject: [PATCH] ci: run the printps tests under their moved path and fail when none run (#4305) The module layout moved tests_printps to tests::printps, so the print workflow's filter matched nothing and the step passed with 0 tests. --- .github/workflows/print.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/print.yml b/.github/workflows/print.yml index 2ee35f176..400a81944 100644 --- a/.github/workflows/print.yml +++ b/.github/workflows/print.yml @@ -32,4 +32,8 @@ jobs: - run: cargo clippy --locked -p vectorcraft --all-targets -- -D warnings - run: cargo test --locked -p vectorcraft - name: Check pending submission and queue refusal feedback - run: cargo test --locked -p vectorcraft-ui-egui tests_printps + shell: bash + # A filter that matches nothing still passes, so fail unless some test ran. + run: | + cargo test --locked -p vectorcraft-ui-egui --lib -- tests::printps | tee printps.log + grep -Eq 'test result: ok\. [1-9][0-9]* passed' printps.log || { echo "::error::tests::printps matched no tests"; exit 1; }