From 720dc376415cdc034693d1fef358d4108790f447 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Tue, 9 Jun 2026 18:11:48 -0400 Subject: [PATCH] Canonical CI: grouped-tests.yml + root test/test_groups.toml Convert the root Tests.yml matrix test job to the canonical thin caller (SciML/.github/.github/workflows/grouped-tests.yml@v1) and move the group x version matrix into test/test_groups.toml at the repo root. The matrix script (compute_affected_sublibraries.jl --root-matrix) emits the same (group, version) set as the previous hand-maintained matrix: Core x {1, lts}, LineSearchesJL x {1, lts}, QA x {1}. GROUP dispatch already exists in test/runtests.jl (ReTestItems tags), so no group-env-name override is needed (root reads GROUP). The separate enzyme job, on:/concurrency:, and all other workflows are left untouched. Project.toml already has julia="1.10" and [compat] for every [extras] dep, so no metadata fixes were required. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Tests.yml | 20 +------------------- test/test_groups.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 19 deletions(-) create mode 100644 test/test_groups.toml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 1b0cc85..358fa51 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -18,25 +18,7 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - version: - - "1" - - "lts" - group: - - Core - - LineSearchesJL - - QA - exclude: - # QA tests only run on latest stable Julia - - version: "lts" - 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" enzyme: diff --git a/test/test_groups.toml b/test/test_groups.toml new file mode 100644 index 0000000..8f01bd4 --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,8 @@ +[Core] +versions = ["1", "lts"] + +[LineSearchesJL] +versions = ["1", "lts"] + +[QA] +versions = ["1"]