Simplify root CI to grouped-tests.yml (matrix from test/test_groups.toml)#1222
Merged
ChrisRackauckas merged 1 commit intoJun 8, 2026
Merged
Conversation
…oml)
Replace the hand-maintained group x version matrix in the root CI.yml
test job with the thin grouped-tests.yml@v1 caller, which builds the
matrix from test/test_groups.toml via
compute_affected_sublibraries.jl --root-matrix.
The root test_groups.toml is trimmed to the groups the root CI workflow
actually ran (Core on lts/1/pre, QA on lts/1). The GPU group that the
monorepo uniformization added speculatively is dropped because the root
CI workflow never dispatched it (no self-hosted GPU job existed), so
keeping it would invent a matrix cell that did not run before.
coverage-directories is preserved verbatim as the only non-default
with: input; group dispatch stays on the default GROUP env var, which
the root runtests.jl reads, and coverage/check-bounds keep their
defaults to match the old root tests.yml call. The workflow filename and
name: CI are unchanged so the branch-protection status check name is
preserved.
Verified the computed root matrix equals the old workflow matrix exactly
(5/5): {(Core,lts),(Core,1),(Core,pre),(QA,lts),(QA,1)}.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Replaces the hand-maintained
group × versionmatrix in the root.github/workflows/CI.ymltest job with the thingrouped-tests.yml@v1caller. The matrix now lives in the roottest/test_groups.tomland is computed bycompute_affected_sublibraries.jl --root-matrix.name: CIand the filename are unchanged, so the branch-protection status-check name is preserved.on:triggers andconcurrency:are kept verbatim.coverage-directoriesis preserved as the only non-defaultwith:input.GROUPenv var, which the roottest/runtests.jlreads (get(ENV, "GROUP", "Core")).coverage(true) andcheck-bounds(yes) keep their defaults, matching the old roottests.yml@v1call.SublibraryCI.ymlworkflow (which callssublibrary-project-tests.yml@v1) and theIntegrationTest/Downstream.ymlworkflow are untouched.test/test_groups.toml
Trimmed to exactly the groups the root CI workflow actually ran:
The
GPUgroup that the monorepo uniformization (#1220) added to this file speculatively is dropped: the rootCI.ymlnever dispatched a GPU job (there was no self-hosted GPU runner cell), so keeping it would invent a matrix entry that did not run before and would attempt to schedule on a self-hosted GPU runner.Verified matrix match (5/5 exact)
julia compute_affected_sublibraries.jl <repo> --root-matrixyields exactly the old workflow's set:{(Core,lts),(Core,1),(Core,pre),(QA,lts),(QA,1)}— no missing, no extra. TOML and YAML both parse cleanly. Package test suite not run locally (heavy; CI validates).Ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code