Commit 5ddc13f
authored
ci: schedule compatibility checks against latest snakemake release (#14)
* ci: re-run tests when a new snakemake release ships
`uv.lock` pins snakemake to an exact version, so the regular CI never
exercises the project against newer upstream releases. Add a dedicated
compatibility workflow that:
- polls the snakemake GitHub releases endpoint on a 6-hour cron,
- gates the actual test job through `actions/cache` keyed on the
upstream tag, so the matrix only runs when a tag we have not seen
before appears,
- supports manual `workflow_dispatch` and external
`repository_dispatch` (event type `snakemake-release`) so a bot or
human can force a run regardless of the cache state,
- refreshes `uv.lock` with `uv lock --upgrade-package snakemake` and
runs the existing tox matrix on Python 3.11 and 3.14.
A failure indicates an upstream regression (or a constraint that needs
loosening) and shows up as a normal red Actions run; no automatic
issue filing is added yet.
* ci: key compat cache on uv-resolved snakemake version
Replace the GitHub releases poll with `uv lock --upgrade-package
snakemake` and use the resolved version from `uv.lock` as the
actions/cache key. The signal we actually care about is whether `uv`
would resolve a snakemake version we have not tested yet, which
covers PyPI-only releases, honors the `>=9,<10` constraint
automatically, and avoids the GitHub API call entirely.1 parent 41afc05 commit 5ddc13f
1 file changed
Lines changed: 98 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 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
0 commit comments