Simplify root CI to grouped-tests.yml (matrix from test/test_groups.toml)#198
Merged
ChrisRackauckas merged 1 commit intoJun 8, 2026
Merged
Conversation
…oml) Convert the root "Tests" workflow (CI.yml) from a hand-maintained group x version matrix calling tests.yml@v1 into a thin caller of grouped-tests.yml@v1, with the matrix declared once in test/test_groups.toml. SublibraryCI.yml (project model) is untouched. 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.
Summary
Converts the root test workflow (
.github/workflows/CI.yml, status checkname: "Tests") from a hand-maintainedgroup × versionmatrix that directly calledtests.yml@v1into a thin caller of the newgrouped-tests.yml@v1. The matrix now lives once in a new roottest/test_groups.toml.SublibraryCI.yml(thesublibrary-project-tests.yml@v1project-model workflow) is intentionally left untouched — this PR only touches the root umbrella package's own test groups..github/workflows/CI.yml(in place)on:triggers,concurrency:, and the workflowname: "Tests"are preserved verbatim, so the branch-protection status-check name is unchanged. The job body becomes:No
with:inputs are needed: the old job usedtests.yml@v1defaults (check-bounds: yes,coverage: true, singleubuntu-latest, default threads, no continue-on-error) and the roottest/runtests.jldispatches on the defaultGROUPenv var (get(ENV, "GROUP", "All")).New
test/test_groups.tomlThis reproduces the old matrix exactly (the old workflow ran
group: [Core, QA] × version: [lts, 1, pre]withexclude: QA/pre).Verified matrix match
Ran
scripts/compute_affected_sublibraries.jl <repo> --root-matrixfromSciML/.github@v1against the newtest/test_groups.tomland compared its(group, version)set against the set the oldCI.ymlmatrix produced:TOML and both workflow YAML files parse cleanly. The package test suite was not run locally (heavy; CI validates).
Ignore until reviewed by @ChrisRackauckas.