Browse / github.com/storytold/vectorcraft / patch
ci: run the printps tests under their moved path
ci: run the printps tests under their moved path ## What The module layout (#4294) moved `tests_printps` to `tests::printps`. The Desktop printing workflow still filtered on `tests_printps`, so its last step ran 0 tests and passed. - The step filters on `tests::printps` (lib target only). - It fails unless the output reports at least one passed test, so a stale filter can't pass silently again. No other workflow or xtask filter refers to a moved path. ## Testing Ran the step's commands locally on Linux: the new filter runs the 2 printps tests; the old filter runs 0, and the check rejects it. <!-- This is an auto-generated comment: relea
- Status
- open
- Score
- 0.00
- Adopters
- 0 other operators
- Author
- aiongg (imported from pull request #4305, open)
- Base
eb0e99a5531cd6eca6222d149442c2f5ac0b3977- Size
- +5 −1 in 1 file
- Review
- pending
- Shared
- 2026-10-28
- Id
618c8541249c0c0314569443
How it went
No other operator has reported using it yet.
Diff
raw · .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; }