From 2af4cd78f8ec053b54b1b1d89cc394b7425aa1bb Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 8 Jun 2026 07:26:14 -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, which builds the matrix from test/test_groups.toml via compute_affected_sublibraries.jl --root-matrix. The root test_groups.toml is trimmed to the groups the root CI workflow actually ran (Core on lts/1/pre, QA on lts/1). The GPU group that the monorepo uniformization added speculatively is dropped because the root CI workflow never dispatched it (no self-hosted GPU job existed), so keeping it would invent a matrix cell that did not run before. coverage-directories is preserved verbatim as the only non-default with: input; group dispatch stays on the default GROUP env var, which the root runtests.jl reads, and coverage/check-bounds keep their defaults to match the old root tests.yml call. The workflow filename and name: CI are unchanged so the branch-protection status check name is preserved. Verified the computed root matrix equals the old workflow matrix exactly (5/5): {(Core,lts),(Core,1),(Core,pre),(QA,lts),(QA,1)}. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/CI.yml | 21 ++------------------- test/test_groups.toml | 4 ---- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e6cd32b17..edfde67d4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,25 +14,8 @@ 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: - group: - - "Core" - version: - - "lts" - - "1" - - "pre" - include: - - group: "QA" - version: "lts" - - group: "QA" - version: "1" - uses: "SciML/.github/.github/workflows/tests.yml@v1" + tests: + uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1" with: - julia-version: "${{ matrix.version }}" - group: "${{ matrix.group }}" coverage-directories: "src,lib/OptimizationBase/src,lib/OptimizationBBO/src,lib/OptimizationCMAEvolutionStrategy/src,lib/OptimizationEvolutionary/src,lib/OptimizationGCMAES/src,lib/OptimizationIpopt/src,lib/OptimizationMadNLP/src,lib/OptimizationManopt/src,lib/OptimizationMOI/src,lib/OptimizationMetaheuristics/src,lib/OptimizationMultistartOptimization/src,lib/OptimizationNLopt/src,lib/OptimizationNOMAD/src,lib/OptimizationOptimJL/src,lib/OptimizationOptimisers/src,lib/OptimizationPolyalgorithms/src,lib/OptimizationQuadDIRECT/src,lib/OptimizationSpeedMapping/src" secrets: "inherit" diff --git a/test/test_groups.toml b/test/test_groups.toml index d8aea043c..1fe84cd44 100644 --- a/test/test_groups.toml +++ b/test/test_groups.toml @@ -3,7 +3,3 @@ versions = ["lts", "1", "pre"] [QA] versions = ["lts", "1"] - -[GPU] -versions = ["1"] -runner = ["self-hosted", "Linux", "X64", "gpu"]