Skip to content

Commit 2138d08

Browse files
ChrisRackauckas-ClaudeChrisRackauckasclaude
authored
Simplify root CI to grouped-tests.yml (matrix from test/test_groups.toml) (#613)
Replace the hand-maintained group x version matrix (plus the bespoke GPU job) in the root CI.yml `tests` job with the reusable grouped-tests.yml@v1 thin caller. The matrix now lives in test/test_groups.toml and is computed by compute_affected_sublibraries.jl --root-matrix. The root runtests.jl dispatches on the default GROUP env var, so no group-env-name override is needed. check-bounds: auto is preserved as a workflow-level input. coverage-directories defaults to src,ext (matches old). Verified the computed root matrix equals the old workflow's (group, version, runner) set exactly: 14/14. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f5a9eb1 commit 2138d08

2 files changed

Lines changed: 25 additions & 39 deletions

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,45 +18,7 @@ concurrency:
1818

1919
jobs:
2020
tests:
21-
name: "Tests"
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
version:
26-
- "lts"
27-
- "1"
28-
- "pre"
29-
group:
30-
- "Core"
31-
- "QA"
32-
- "SymbolicIndexingInterface"
33-
- "Downstream"
34-
- "NoPre"
35-
exclude:
36-
# JET (NoPre) is not run on prereleases.
37-
- version: "pre"
38-
group: "NoPre"
39-
# QA (Aqua) runs only on lts and 1, never on prereleases.
40-
- version: "pre"
41-
group: "QA"
42-
uses: "SciML/.github/.github/workflows/tests.yml@v1"
21+
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
4322
with:
44-
julia-version: "${{ matrix.version }}"
45-
group: "${{ matrix.group }}"
46-
num-threads: "2"
4723
check-bounds: "auto"
48-
coverage-directories: "src,ext"
49-
secrets: "inherit"
50-
51-
# GPU tests are a dep-adding group (test/GPU/Project.toml) that runs on the
52-
# self-hosted GPU runner. Folded in from the former bespoke GPU.yml.
53-
gpu:
54-
name: "GPU Tests"
55-
uses: "SciML/.github/.github/workflows/tests.yml@v1"
56-
with:
57-
julia-version: "1"
58-
group: "GPU"
59-
runner: '["self-hosted", "Linux", "X64", "gpu"]'
60-
timeout-minutes: 60
61-
coverage-directories: "src,ext"
6224
secrets: "inherit"

test/test_groups.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[Core]
2+
versions = ["lts", "1", "pre"]
3+
num_threads = 2
4+
5+
[QA]
6+
versions = ["lts", "1"]
7+
num_threads = 2
8+
9+
[SymbolicIndexingInterface]
10+
versions = ["lts", "1", "pre"]
11+
num_threads = 2
12+
13+
[Downstream]
14+
versions = ["lts", "1", "pre"]
15+
num_threads = 2
16+
17+
[NoPre]
18+
versions = ["lts", "1"]
19+
num_threads = 2
20+
21+
[GPU]
22+
versions = ["1"]
23+
runner = ["self-hosted", "Linux", "X64", "gpu"]
24+
timeout = 60

0 commit comments

Comments
 (0)