Repository navigation
ci: drop unread steps, fold partial failures, Nextflow runtime tests into Lint And Test - #593
Conversation
Every generated .wic is already parsed by the corpus steps, and the schema accepts exactly what the parser does; nothing in CI reads the schema file.
The push run covers the partial-failure workflows with --partial_failure_enable, so they need no test or step of their own.
Four steps each started pytest for one -k slice of tests/contrib; one run covers them all.
nextflow.yml ran them twice per PR, on push and pull_request; Lint And Test's Linux leg installs the pinned Nextflow and runs them once. Its other tests already ran in package.
e793deb to
bcf38b7
Compare
darkclad
left a comment
There was a problem hiding this comment.
Checked against the fork runs at bcf38b7. The new Lint And Test step selects the same 84 runtime tests nextflow.yml did (80 nextflow and not docker + 4 docker and not nextflow_corpus), and all 84 pass. Run Workflows now runs the partial-failure workflows inside test_run_workflows_on_push (42 passed; the partial-failure list is disjoint from the on-push list, so nothing runs twice), and runs all 14 contrib tests in one step. No references to the deleted test, manifest or workflow remain. One non-blocking note inline.
|
|
||
| - uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: "3.12" |
There was a problem hiding this comment.
This was the only per-PR run of tests/core/nextflow on Python 3.12 (its last step was named "Python 3.12 compatibility suite"). Package runs the same 1,296 non-runtime tests on 3.11 only, and requires-python is >=3.11. Property Weekly still runs on 3.12, but only for the property tests. If 3.12 coverage of the Nextflow target matters, adding a 3.12 entry to package would keep it; otherwise a line in the PR body saying it is dropped on purpose would do.
There was a problem hiding this comment.
We anticipated this: #594 adds Python Matrix Weekly, which runs Lint And Test on Python 3.11, 3.12, 3.13 and 3.14 (Ubuntu), Nextflow runtime tests included. The Nextflow target keeps its 3.12 coverage there, weekly, instead of in a per-PR lane on one extra version.
There was a problem hiding this comment.
Weekly is fine, but #594's matrix only reaches the runtime half. Lint And Test selects tests/core/nextflow -m "nextflow and not nextflow_corpus" (64 tests at cbf6740), while the 1,296 not nextflow tests this step ran on 3.12 still run only in package, on 3.11. One more step in lint_and_test.yml, cd sophios/ && pytest tests/core/nextflow -m "not nextflow", would put them in the weekly matrix on 3.11-3.14. I'll approve here once that is in #594.
|
Thanks for checking the fork runs. The 84 runtime tests match what nextflow.yml selected, and the partial-failure workflows now run once, inside the on-push list. I've left the 3.12 coverage question from the inline note open for now, since it is a CI-matrix decision. |
476e9b8 to
bcf38b7
Compare
What
sophios --generate_schemasstep (five lanes).test_run_workflows_on_pushwith--partial_failure_enable; deletetest_run_partial_failures_passand its step.tests/contribin one step instead of four-kslices of it.nextflow.yml: Lint And Test's Linux leg installs the pinned Nextflow and runs thenextflow-marked tests; its compile-only tests already ran inpackage.Why
.wic, the schema accepts exactly what the parser does, nothing in CI readsautogenerated/schemas/wic.json, the partial-failure runs need no step of their own, andnextflow.ymlran its tests twice per PR.