From 77a64d4dc5987f30e66193c316f9e07a41bc9a35 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 8 Jun 2026 08:00:48 -0400 Subject: [PATCH] Canonical CI: grouped-tests.yml + root test/test_groups.toml Convert the root Tests.yml test workflow to the canonical thin caller (SciML/.github/.github/workflows/grouped-tests.yml@v1) and declare the group x version matrix once in test/test_groups.toml. - Core on [lts, 1, pre] - QA on [lts, 1] (kept off `pre` -- JET 0.11.x cannot resolve on 1.13 prereleases), reproducing the old workflow's `exclude: pre x QA`. runtests.jl already dispatches on GROUP (Core/QA), so no runtests.jl change is needed and the default group-env-name (GROUP) applies. The old caller used tests.yml@v1 with all defaults (check-bounds=yes, coverage=true, coverage-directories=src,ext, apt-packages=""), so the new thin caller needs no `with:` inputs. Root-matrix script reproduces the old matrix exactly: 5/5 cells. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Tests.yml | 22 +--------------------- test/test_groups.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 21 deletions(-) create mode 100644 test/test_groups.toml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 5e5905c..c36b34f 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -14,25 +14,5 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - version: - - "1" - - "lts" - - "pre" - group: - - Core - - QA - exclude: - # JET 0.11.x has `julia = "1.12"` registry compat (1.12.x only), - # so it cannot resolve on Julia 1.13 prereleases. Skip the QA - # group on `pre` until upstream JET widens its julia compat. - - 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..820958e --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,8 @@ +[Core] +versions = ["lts", "1", "pre"] + +[QA] +# JET 0.11.x has `julia = "1.12"` registry compat (1.12.x only), so it cannot +# resolve on Julia 1.13 prereleases. Keep QA off `pre` until upstream JET +# widens its julia compat. +versions = ["lts", "1"]