Skip to content

Commit 078bf12

Browse files
ChrisRackauckas-ClaudeChrisRackauckasclaude
authored
Simplify root CI to grouped-tests.yml (matrix from test/test_groups.toml) (#198)
Convert the root "Tests" workflow (CI.yml) from a hand-maintained group x version matrix calling tests.yml@v1 into a thin caller of grouped-tests.yml@v1, with the matrix declared once in test/test_groups.toml. SublibraryCI.yml (project model) is untouched. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent db05775 commit 078bf12

2 files changed

Lines changed: 9 additions & 22 deletions

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,5 @@ concurrency:
1414

1515
jobs:
1616
tests:
17-
name: "Tests"
18-
strategy:
19-
fail-fast: false
20-
matrix:
21-
# Only the root umbrella package's own test groups are listed here.
22-
# The lib/* sublibraries are covered by SublibraryCI.yml (project model);
23-
# they are intentionally not re-tested through the root matrix.
24-
group:
25-
- Core
26-
- QA
27-
version:
28-
- "lts"
29-
- "1"
30-
- "pre"
31-
exclude:
32-
# QA (explicit-imports check) does not need the pre-release Julia.
33-
- group: QA
34-
version: "pre"
35-
uses: "SciML/.github/.github/workflows/tests.yml@v1"
36-
with:
37-
julia-version: "${{ matrix.version }}"
38-
group: "${{ matrix.group }}"
17+
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
3918
secrets: "inherit"

test/test_groups.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Root umbrella package's own test groups (group x version matrix).
2+
# The lib/* sublibraries are covered by SublibraryCI.yml (project model) and are
3+
# intentionally not re-tested through this root matrix.
4+
[Core]
5+
versions = ["lts", "1", "pre"]
6+
7+
[QA]
8+
versions = ["lts", "1"]

0 commit comments

Comments
 (0)