From 570369352e652ed7f4d4d3b1737c0da0c76f3bf6 Mon Sep 17 00:00:00 2001 From: Chris Rackauckas Date: Mon, 8 Jun 2026 07:59:59 -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 of SciML/.github grouped-tests.yml@v1, with the version/OS matrix declared once in test/test_groups.toml. Filename and top-level `name: "Tests"` are preserved so branch-protection status checks stay valid; `on:` triggers and `concurrency:` are kept verbatim. The previous matrix ran the full suite (GROUP defaulting to "All") on version x os = {1,lts,pre} x {ubuntu-latest,macos-latest,windows-latest}. The new test_groups.toml declares a single capitalized "Core" group on the same version set with os = [ubuntu-latest, macos-latest, windows-latest]. runtests.jl already dispatches the identical testset list for both "All" and "Core", so the (version, runner) coverage is reproduced exactly (9/9). Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Tests.yml | 17 +---------------- test/test_groups.toml | 3 +++ 2 files changed, 4 insertions(+), 16 deletions(-) create mode 100644 test/test_groups.toml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index f4f0626..d144132 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -20,20 +20,5 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - version: - - "1" - - "lts" - - "pre" - os: - - "ubuntu-latest" - - "macos-latest" - - "windows-latest" - uses: "SciML/.github/.github/workflows/tests.yml@v1" - with: - julia-version: "${{ matrix.version }}" - os: "${{ matrix.os }}" + 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..79352ec --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,3 @@ +[Core] +versions = ["lts", "1", "pre"] +os = ["ubuntu-latest", "macos-latest", "windows-latest"]