Skip to content

Canonical CI: grouped-tests.yml + root test/test_groups.toml - #1377

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:grouped-tests-ci
Jun 8, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:grouped-tests-ci

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

Converts the root test workflow .github/workflows/Tests.yml (workflow name: "Run Tests") to the canonical thin caller SciML/.github/.github/workflows/grouped-tests.yml@v1, declaring the group × version matrix once in a new root test/test_groups.toml.

The filename and workflow name: are preserved so the workflow's branch-protection status check stays intact. on: triggers and concurrency: are kept verbatim. All other workflow files (Downstream/IntegrationTest, Downgrade, Documentation, FormatCheck, RunicSuggestions, SpellCheck, TagBot, ReleaseTest, DependabotAutoMerge, DocPreviewCleanup) are untouched.

This is a Category A repo: test/runtests.jl already dispatches on the GROUP env var (Core/QA/Downstream/SymbolicIndexingInterface/Python), so no runtests.jl change and no local Aqua run is needed.

test/test_groups.toml

[Core]
versions = ["lts", "1", "pre"]
num_threads = 11

[Downstream]
versions = ["lts", "1", "pre"]
num_threads = 11
continue_on_error = true

[SymbolicIndexingInterface]
versions = ["lts", "1", "pre"]
num_threads = 11
continue_on_error = true

[QA]
versions = ["lts", "1"]
num_threads = 11

[Python]
versions = ["lts", "1", "pre"]
num_threads = 11
continue_on_error = true

num_threads = 11 preserves the original workflow's env: JULIA_NUM_THREADS: 11 intent per-group (a caller-level env: does not propagate into a reusable workflow, so it was previously inert; it is now carried correctly through the matrix). continue_on_error = true marks the downstream-dependent groups (Downstream, SymbolicIndexingInterface, Python — they activate external ecosystems via activate_downstream_env()/activate_python_env()) non-fatal; Core and QA stay blocking.

Matrix match

Verified with scripts/compute_affected_sublibraries.jl <root> --root-matrix (from SciML/.github@v1) and compared against the old hand-maintained matrix: 14/14 exact, all ubuntu-latest (Linux-only; no os field, default runner).

Group Old versions New versions
Core 1, lts, pre lts, 1, pre
Downstream 1, lts, pre lts, 1, pre
SymbolicIndexingInterface 1, lts, pre lts, 1, pre
QA 1, lts (pre excluded) lts, 1
Python 1, lts, pre lts, 1, pre

No with: inputs needed

  • group-env-name: runtests.jl reads GROUP (the default), so omitted.
  • check-bounds: old caller used the tests.yml@v1 default "yes", which grouped-tests.yml also defaults to.
  • julia-runtest-depwarn: old caller passed "yes", which is the tests.yml@v1 default that grouped-tests.yml inherits.
  • coverage left on (default src,ext); no apt packages.

QA

No QA change required (Category A — QA group already present and unchanged). No source bugs introduced; no QA checks skipped, broadened, or excluded.

Ignore until reviewed by @ChrisRackauckas.

Convert the root test workflow (.github/workflows/Tests.yml, "Run Tests") to
the canonical thin caller SciML/.github/.github/workflows/grouped-tests.yml@v1,
with the group x version matrix declared once in test/test_groups.toml.

The emitted root matrix reproduces the old hand-maintained matrix exactly
(14/14 cells, all ubuntu-latest):
  Core, Downstream, SymbolicIndexingInterface, Python on [lts, 1, pre]
  QA on [lts, 1]   (pre excluded, as before)

continue_on_error=true is set for the downstream-dependent groups
(Downstream, SymbolicIndexingInterface, Python) which activate external
ecosystems; Core and QA remain blocking.

No with: inputs are needed: runtests.jl reads GROUP (default), check-bounds
and depwarn match the tests.yml defaults the caller inherits, coverage stays
on, and there are no apt packages. on: triggers and concurrency are preserved
verbatim; all other workflow files are untouched.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review June 8, 2026 15:14
@ChrisRackauckas
ChrisRackauckas merged commit 9b59b1f into SciML:master Jun 8, 2026
19 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants