Skip to content

Commit 109c8cb

Browse files
ChrisRackauckas-ClaudeChrisRackauckasclaude
authored
Canonical CI: grouped-tests.yml + root test/test_groups.toml (#604)
Convert the root test workflow (Tests.yml) to the canonical thin caller of SciML/.github/.github/workflows/grouped-tests.yml@v1, with the group x version matrix declared once in test/test_groups.toml at the repo root. The previous Tests.yml hand-maintained a version x group matrix (versions 1/lts/pre x groups InterfaceI/InterfaceII/QA, excluding pre+QA) calling tests.yml@v1. That exact 8-cell matrix is now reproduced by test_groups.toml: InterfaceI and InterfaceII on [lts, 1, pre], QA on [lts, 1]. runtests.jl already dispatches on the standard GROUP env var and already has a QA group, so no runtests.jl change is needed and no with: inputs are required (check-bounds, coverage, coverage-directories=src,ext, group-env-name=GROUP all match the grouped-tests.yml@v1 defaults). on: triggers and concurrency: are preserved verbatim; name: "Run Tests" is kept so branch-protection status checks are unaffected. All other workflow files are left untouched. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0c3dfaf commit 109c8cb

2 files changed

Lines changed: 9 additions & 19 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,5 @@ concurrency:
1818

1919
jobs:
2020
tests:
21-
name: "Tests"
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
version:
26-
- "1"
27-
- "lts"
28-
- "pre"
29-
group:
30-
- InterfaceI
31-
- InterfaceII
32-
- QA
33-
exclude:
34-
- version: "pre"
35-
group: QA
36-
uses: "SciML/.github/.github/workflows/tests.yml@v1"
37-
with:
38-
julia-version: "${{ matrix.version }}"
39-
group: ${{ matrix.group }}
21+
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
4022
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+
[InterfaceI]
2+
versions = ["lts", "1", "pre"]
3+
4+
[InterfaceII]
5+
versions = ["lts", "1", "pre"]
6+
7+
[QA]
8+
versions = ["lts", "1"]

0 commit comments

Comments
 (0)