From 115af929413b371d5c54a7de61b9e7f617df026d Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 8 Jun 2026 07:57:32 -0400 Subject: [PATCH] Canonical CI: grouped-tests.yml + root test/test_groups.toml Convert the root test workflow (.github/workflows/CI.yml, name "Tests") to the canonical thin caller of SciML/.github/.github/workflows/grouped-tests.yml@v1, declaring its group x version matrix once in test/test_groups.toml. The matrix (CPU/JLArrays/OpenCL on [lts,1,pre], QA on [lts,1]) reproduces the old hand-maintained matrix exactly (11/11). runtests.jl already dispatches on the standard GROUP env var, so no with: overrides are needed. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/CI.yml | 21 +-------------------- test/test_groups.toml | 11 +++++++++++ 2 files changed, 12 insertions(+), 20 deletions(-) create mode 100644 test/test_groups.toml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1ece4f3b..49319e32 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,24 +23,5 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - version: - - "1" - - "lts" - - "pre" - group: - - CPU - - JLArrays - - OpenCL - - 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 00000000..3e67b1d5 --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,11 @@ +[CPU] +versions = ["lts", "1", "pre"] + +[JLArrays] +versions = ["lts", "1", "pre"] + +[OpenCL] +versions = ["lts", "1", "pre"] + +[QA] +versions = ["lts", "1"]