Skip to content

CI: convert root test workflow to grouped-tests.yml thin caller#541

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

CI: convert root test workflow to grouped-tests.yml thin caller#541
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:grouped-tests-ci

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

What

Converts the root test workflow (.github/workflows/Tests.yml) from a hand-maintained group × version matrix into a thin caller of the reusable SciML/.github/.github/workflows/grouped-tests.yml@v1, with the matrix declared once in a new root test/test_groups.toml.

Changes

  • test/test_groups.toml (new): encodes the existing matrix.
    • Core, Methods, Extensions, Misc on ["lts", "1", "pre"]
    • QA on ["lts", "1"]
  • .github/workflows/Tests.yml: the matrix+steps test job is replaced with the thin grouped-tests.yml@v1 caller. Existing triggers (push/pull_request on master, paths-ignore: docs/**, the weekly schedule cron) and the concurrency block are preserved verbatim.

test/runtests.jl is unchanged — it already dispatches GROUP across Core/Methods/Extensions/Misc/QA, which is exactly what grouped-tests.yml drives (default GROUP env var).

No other workflows (Downgrade, Documentation, FormatCheck, SpellCheck, RunicSuggestions, DependabotAutoMerge, DocPreviewCleanup, TagBot) are touched.

Equivalence check (static)

Running the upstream matrix script against the new TOML reproduces the original 14-job matrix exactly:

julia scripts/compute_affected_sublibraries.jl . --root-matrix

yields Core/Methods/Extensions/Misc × {lts,1,pre} (12) + QA × {lts,1} (2) = 14 jobs — identical to the previous version × group matrix with the pre+QA exclusion.


Ignore until reviewed by @ChrisRackauckas.

Move the hand-maintained group x version matrix out of the root test
workflow and into test/test_groups.toml, consumed by the reusable
SciML/.github grouped-tests.yml@v1. The matrix is unchanged: Core,
Methods, Extensions, Misc on [lts, 1, pre]; QA on [lts, 1]. Existing
triggers (master push/PR, paths-ignore docs/**, weekly schedule) and
concurrency are preserved. runtests.jl is unchanged.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 8, 2026 15:16
@ChrisRackauckas ChrisRackauckas merged commit 5847fa8 into SciML:master Jun 8, 2026
6 of 7 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