Skip to content

Commit dbe7a1e

Browse files
ChrisRackauckas-ClaudeChrisRackauckasclaude
authored
Canonical CI: grouped-tests.yml + root test/test_groups.toml (#462)
Convert the root Tests.yml test workflow into a thin caller of the canonical SciML/.github grouped-tests.yml@v1 reusable workflow, with the group x version matrix declared once in test/test_groups.toml. The previous workflow hand-maintained a {version: [1, lts, pre]} x {group: [Core, QA]} matrix calling tests.yml@v1. That matrix now lives in test/test_groups.toml (Core and QA each on ["1", "lts", "pre"]) and is computed by compute_affected_sublibraries.jl --root-matrix. runtests.jl already dispatches on the standard GROUP env var (Core/QA), so no group-env-name input is needed and no runtests.jl change is required. No check-bounds/coverage/apt-packages overrides were used by the old job, so the thin caller carries no `with:` inputs. on: triggers and concurrency are preserved verbatim; name: "Tests" is kept so branch-protection status checks remain valid. All other workflow files are untouched. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent eec06c2 commit dbe7a1e

2 files changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,5 @@ concurrency:
1616

1717
jobs:
1818
tests:
19-
name: "Tests"
20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
version:
24-
- "1"
25-
- "lts"
26-
- "pre"
27-
group:
28-
- "Core"
29-
- "QA"
30-
uses: "SciML/.github/.github/workflows/tests.yml@v1"
31-
with:
32-
julia-version: "${{ matrix.version }}"
33-
group: "${{ matrix.group }}"
19+
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
3420
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 = ["1", "lts", "pre"]
3+
4+
[QA]
5+
versions = ["1", "lts", "pre"]

0 commit comments

Comments
 (0)