Skip to content

Commit 54eb502

Browse files
ChrisRackauckas-ClaudeChrisRackauckasclaude
authored
Canonical CI: grouped-tests.yml + root test/test_groups.toml (#57)
Convert the root Tests.yml test job 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. The runtests.jl GROUP dispatch (Core/nopre) already exists, so no test-runner change is needed. The emitted root matrix reproduces the old hand-maintained matrix exactly (5/5): Core on {lts,1,pre} and nopre on {lts,1}. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d2b5b6d commit 54eb502

2 files changed

Lines changed: 7 additions & 22 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,6 @@ concurrency:
1818
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
1919

2020
jobs:
21-
test:
22-
name: "Tests"
23-
strategy:
24-
fail-fast: false
25-
matrix:
26-
group:
27-
- Core
28-
- nopre
29-
version:
30-
- '1'
31-
- 'lts'
32-
- 'pre'
33-
arch:
34-
- x64
35-
exclude:
36-
- version: 'pre'
37-
group: 'nopre'
38-
uses: "SciML/.github/.github/workflows/tests.yml@v1"
39-
with:
40-
group: "${{ matrix.group }}"
41-
julia-version: "${{ matrix.version }}"
42-
julia-arch: "${{ matrix.arch }}"
21+
tests:
22+
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
4323
secrets: "inherit"

test/test_groups.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[Core]
2+
versions = ["lts", "1", "pre"]
3+
4+
[nopre]
5+
versions = ["lts", "1"]

0 commit comments

Comments
 (0)