Commit f912d08
ci: fast-test workflow on push and PR
Add `.github/workflows/fast-tests.yml`: the quick inner-loop gate that runs the
`tests/` suite minus the heavy and cluster tiers — `pytest -m "not slow and not
candide"` — on every push and pull request. It complements `deploy-image.yml`
(which builds the dev image and runs the *full* suite inside it) by skipping the
Docker build, so it returns in minutes.
Matches the repo's conventions: SHA-pinned actions (covered by the existing
github-actions dependabot policy), Python 3.12, and the environment reproduced
from `uv.lock` via `uv sync --frozen --extra test` — the same pinned set a
developer's `.venv` carries, including the pinned ngmix git source. Tests that
need the astromatic binaries self-skip via `shutil.which`, so they don't run
here (the dev-image CI exercises them). Concurrency-cancels superseded runs.
Verified the exact invocation locally: 276 passed, 5 skipped, 2 deselected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0ee0e94 commit f912d08
1 file changed
Lines changed: 60 additions & 0 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 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments