From 6788f4e9746bb7509ba07bac1a1a579462a3b0be Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 8 Jun 2026 07:25:28 -0400 Subject: [PATCH] Simplify root CI to grouped-tests.yml (matrix from test/test_groups.toml) Replace the hand-maintained group x version matrix in the root CI.yml test job with the thin grouped-tests.yml@v1 caller. The (group, version) matrix is now read from test/test_groups.toml, which already declares the root groups (Core on [lts,1,pre]; nopre on [lts,1]) and reproduces the previous matrix exactly (5/5). coverage-directories: "src" is preserved as the only non-default input. The root reads its group from the default GROUP env var, so no group-env-name input is needed. SublibraryCI.yml (lib/* coverage) is untouched. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/CI.yml | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 02743ea9..7900274e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,27 +14,12 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }} jobs: - test: - name: "Tests" - strategy: - fail-fast: false - matrix: - # Root-only test groups. The lib/* sublibraries (DataDrivenDMD, DataDrivenSR, - # DataDrivenSparse, DataDrivenLux) are covered by SublibraryCI.yml via the - # project model and must not be double-tested through the root matrix. - group: - - Core - - nopre - version: - - '1' - - 'lts' - - 'pre' - exclude: - - group: nopre - version: 'pre' - uses: "SciML/.github/.github/workflows/tests.yml@v1" + tests: + # Root-only test groups (Core, nopre) are declared in test/test_groups.toml. + # The lib/* sublibraries (DataDrivenDMD, DataDrivenSR, DataDrivenSparse, + # DataDrivenLux) are covered by SublibraryCI.yml via the project model and + # must not be double-tested through this root matrix. + uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1" with: - julia-version: "${{ matrix.version }}" - group: "${{ matrix.group }}" coverage-directories: "src" secrets: "inherit"