From afc1ed5c659bf2f36578604bd9b2de24afa37fce Mon Sep 17 00:00:00 2001 From: Chris Rackauckas 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 (Tests.yml) to the canonical thin caller 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 package already dispatches Core / NoPre via the GROUP env var in test/runtests.jl, so no runtests.jl change is needed. The TOML reproduces the previous matrix exactly: Core and NoPre each on [lts, 1, pre]. on: triggers and concurrency are preserved verbatim; filename and `name:` are unchanged so branch-protection status checks are preserved. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Tests.yml | 16 +--------------- test/test_groups.toml | 5 +++++ 2 files changed, 6 insertions(+), 15 deletions(-) create mode 100644 test/test_groups.toml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index ac79993..da736b9 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -20,19 +20,5 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - version: - - "1" - - "lts" - - "pre" - group: - - Core - - NoPre - uses: "SciML/.github/.github/workflows/tests.yml@v1" - with: - group: "${{ matrix.group }}" - julia-version: "${{ matrix.version }}" + 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..6d5a1fe --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,5 @@ +[Core] +versions = ["lts", "1", "pre"] + +[NoPre] +versions = ["lts", "1", "pre"]