From 536f8c5a11dab4be42064ffc06142fa3a04b6859 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 8 Jun 2026 07:57:26 -0400 Subject: [PATCH] Canonical CI: grouped-tests.yml + root test/test_groups.toml Convert the root Tests.yml workflow to the canonical thin caller of SciML/.github/.github/workflows/grouped-tests.yml@v1, with the test matrix declared once in test/test_groups.toml at the repo root. The previous Tests.yml hand-maintained a version x group matrix ({1,lts,pre} x {Core,QA}, excluding pre/QA) calling tests.yml@v1 directly. The new test_groups.toml declares Core on [lts,1,pre] and QA on [lts,1], which the --root-matrix script reproduces as the identical 5-cell set. All defaults (check-bounds=yes, coverage=true, coverage-directories=src,ext, GROUP env var) are unchanged, so the thin caller needs no `with:` inputs. The `on:` triggers, `concurrency:` block, workflow filename, and `name:` are preserved so branch-protection status checks remain intact. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Tests.yml | 19 +------------------ test/test_groups.toml | 5 +++++ 2 files changed, 6 insertions(+), 18 deletions(-) create mode 100644 test/test_groups.toml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 233590f..b3ff677 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -18,22 +18,5 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - version: - - "1" - - "lts" - - "pre" - group: - - Core - - 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 0000000..1fe84cd --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,5 @@ +[Core] +versions = ["lts", "1", "pre"] + +[QA] +versions = ["lts", "1"]