Repository navigation
Commit 14ccb9b
committed
ci: run pytest on pull requests, with rsvg-convert available
docs.yml becomes ci.yml with a second job. The gate it adds is not really "run the
tests" — it is running the ones that have never run anywhere.
Every PNG assertion in the suite is gated on rsvg-convert, which no environment we
use has installed. That is 26 skips, all of them test_no_cream_on_transparent, the
invariant that stops a mark shipping stray white ink on every dark surface; plus 5
tests that hard-fail without it and 6 conditional blocks in test_assets.py that
quietly drop their PNG checks. So the test job installs librsvg2-bin and runs
rsvg-convert --version, because an apt-get that silently no-ops would leave the job
green with the whole census skipped.
Verified by CI rather than locally: this machine has no rsvg-convert, so the 31
affected tests cannot run here.1 parent 45dfc24 commit 14ccb9b
2 files changed
Lines changed: 34 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
This file was deleted.
0 commit comments