Skip to content

Simplify root CI to grouped-tests.yml (matrix from test/test_groups.toml)#14

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

Simplify root CI to grouped-tests.yml (matrix from test/test_groups.toml)#14
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:grouped-tests-ci

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Summary

Converts the root CI.yml test workflow from a hand-maintained strategy.matrix into the thin SciML/.github/.github/workflows/grouped-tests.yml@v1 caller, with the matrix declared once in a new root test/test_groups.toml. The Sublibrary CI workflow (which calls sublibrary-project-tests.yml@v1) is untouched.

The workflow filename and name: CI are preserved, so the branch-protection status-check name is unchanged. The existing on: triggers and concurrency: block are kept verbatim.

Matrix

The old test job ran a group: [Core] × version: [lts, 1, pre] matrix (no excludes/includes) — 3 cells. test/test_groups.toml:

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

Per-group / per-job specials carried over

  • Root test/runtests.jl dispatches on GROUP (the default), so no group-env-name override is needed.
  • Old job used check_bounds: autowith: check-bounds: auto.
  • Old job set coverage: falsewith: coverage: false.
  • Single OS (ubuntu-latest), default runner, timeout-minutes: 120 (the workflow default), num_threads = 1, no continue-on-error — all defaults, nothing else to set.

Verified matrix match

Ran scripts/compute_affected_sublibraries.jl <repo> --root-matrix from SciML/.github@v1 against this branch. It emits exactly:

Core × lts, Core × 1, Core × pre

3/3 exact match with the old embedded matrix. TOML and YAML both parse cleanly. The package test suite was not run locally (CI validates).

Ignore until reviewed by @ChrisRackauckas.

…oml)

Replace the hand-maintained Core × {lts,1,pre} matrix in the root CI.yml
test job with the thin SciML/.github grouped-tests.yml@v1 caller, moving
the matrix into test/test_groups.toml. The root runtests.jl dispatches on
GROUP (the default), so no group-env-name override is needed; the old job
ran with check_bounds: auto and coverage disabled, preserved as
check-bounds: auto and coverage: false.

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 11:48
@ChrisRackauckas ChrisRackauckas merged commit ce88dbb into SciML:main Jun 8, 2026
8 of 9 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