From 489bf8cb78387ffd2e75ed6ac697cbcea401bd6c Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 8 Jun 2026 07:59:48 -0400 Subject: [PATCH] Canonical CI: grouped-tests.yml + root test/test_groups.toml Convert the root test workflow (Tests.yml) to the canonical thin caller of SciML/.github/.github/workflows/grouped-tests.yml@v1, with the group x version matrix declared once in test/test_groups.toml at the repo root. The previous Tests.yml hand-maintained a version x group matrix (versions 1/lts/pre x groups InterfaceI/InterfaceII/QA, excluding pre+QA) calling tests.yml@v1. That exact 8-cell matrix is now reproduced by test_groups.toml: InterfaceI and InterfaceII on [lts, 1, pre], QA on [lts, 1]. runtests.jl already dispatches on the standard GROUP env var and already has a QA group, so no runtests.jl change is needed and no with: inputs are required (check-bounds, coverage, coverage-directories=src,ext, group-env-name=GROUP all match the grouped-tests.yml@v1 defaults). on: triggers and concurrency: are preserved verbatim; name: "Run Tests" is kept so branch-protection status checks are unaffected. All other workflow files are left untouched. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Tests.yml | 20 +------------------- test/test_groups.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 19 deletions(-) create mode 100644 test/test_groups.toml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 3f223b3de..45dc20491 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -18,23 +18,5 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - version: - - "1" - - "lts" - - "pre" - group: - - InterfaceI - - InterfaceII - - QA - exclude: - - version: "pre" - group: QA - uses: "SciML/.github/.github/workflows/tests.yml@v1" - with: - julia-version: "${{ matrix.version }}" - group: ${{ matrix.group }} + uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1" secrets: "inherit" diff --git a/test/test_groups.toml b/test/test_groups.toml new file mode 100644 index 000000000..443c5cbb1 --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,8 @@ +[InterfaceI] +versions = ["lts", "1", "pre"] + +[InterfaceII] +versions = ["lts", "1", "pre"] + +[QA] +versions = ["lts", "1"]