Skip to content

Commit 5366b23

Browse files
ChrisRackauckas-ClaudeChrisRackauckasclaude
authored
Canonical CI: grouped-tests.yml + root test/test_groups.toml (#382)
Convert the root CI workflow (ci.yml) to the canonical thin caller of SciML/.github grouped-tests.yml@v1, with the group x version matrix declared once in test/test_groups.toml instead of hand-maintained YAML. The previously inlined matrix (group: Core/Autodiff/GPU/Downstream/ Reactant/nopre x version: lts/1/pre, with pre excluded for nopre/ Downstream/Reactant) is reproduced exactly by test_groups.toml: 15/15 (group, version) cells match the compute_affected_sublibraries.jl --root-matrix output. runtests.jl already dispatches on the standard GROUP env var, so no with: overrides and no runtests.jl change needed. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7d16f35 commit 5366b23

2 files changed

Lines changed: 19 additions & 27 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,6 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1313
jobs:
14-
test:
15-
name: Tests
16-
strategy:
17-
fail-fast: false
18-
matrix:
19-
group:
20-
- Core
21-
- Autodiff
22-
- GPU
23-
- Downstream
24-
- Reactant
25-
- nopre
26-
version:
27-
- 'lts'
28-
- '1'
29-
- 'pre'
30-
exclude:
31-
- group: nopre
32-
version: 'pre'
33-
- group: Downstream
34-
version: 'pre'
35-
- group: Reactant
36-
version: 'pre'
37-
uses: "SciML/.github/.github/workflows/tests.yml@v1"
38-
with:
39-
group: "${{ matrix.group }}"
40-
julia-version: "${{ matrix.version }}"
14+
tests:
15+
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
4116
secrets: "inherit"

test/test_groups.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[Core]
2+
versions = ["lts", "1", "pre"]
3+
4+
[Autodiff]
5+
versions = ["lts", "1", "pre"]
6+
7+
[GPU]
8+
versions = ["lts", "1", "pre"]
9+
10+
[Downstream]
11+
versions = ["lts", "1"]
12+
13+
[Reactant]
14+
versions = ["lts", "1"]
15+
16+
[nopre]
17+
versions = ["lts", "1"]

0 commit comments

Comments
 (0)