Repository navigation
Canonical CI: grouped-tests.yml + root test/test_groups.toml - #1377
Merged
ChrisRackauckas merged 1 commit intoJun 8, 2026
Merged
Conversation
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
marked this pull request as ready for review
June 8, 2026 15:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts the root test workflow
.github/workflows/Tests.yml(workflowname: "Run Tests") to the canonical thin callerSciML/.github/.github/workflows/grouped-tests.yml@v1, declaring the group × version matrix once in a new roottest/test_groups.toml.The filename and workflow
name:are preserved so the workflow's branch-protection status check stays intact.on:triggers andconcurrency: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.jlalready dispatches on theGROUPenv var (Core/QA/Downstream/SymbolicIndexingInterface/Python), so noruntests.jlchange and no local Aqua run is needed.test/test_groups.tomlnum_threads = 11preserves the original workflow'senv: JULIA_NUM_THREADS: 11intent per-group (a caller-levelenv:does not propagate into a reusable workflow, so it was previously inert; it is now carried correctly through the matrix).continue_on_error = truemarks the downstream-dependent groups (Downstream, SymbolicIndexingInterface, Python — they activate external ecosystems viaactivate_downstream_env()/activate_python_env()) non-fatal; Core and QA stay blocking.Matrix match
Verified with
scripts/compute_affected_sublibraries.jl <root> --root-matrix(fromSciML/.github@v1) and compared against the old hand-maintained matrix: 14/14 exact, allubuntu-latest(Linux-only; noosfield, default runner).No
with:inputs neededgroup-env-name: runtests.jl readsGROUP(the default), so omitted.check-bounds: old caller used thetests.yml@v1default"yes", which grouped-tests.yml also defaults to.julia-runtest-depwarn: old caller passed"yes", which is thetests.yml@v1default that grouped-tests.yml inherits.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.