Repository navigation
Canonical CI: grouped-tests.yml + root test/test_groups.toml - #453
Merged
ChrisRackauckas merged 3 commits intoJun 10, 2026
Merged
Conversation
Convert the root Tests.yml workflow to the canonical thin caller for
SciML/.github grouped-tests.yml@v1, with the group x version (x os)
matrix declared once in test/test_groups.toml.
- Tests.yml: replace the hand-maintained group/version/os matrix job with
a thin caller of grouped-tests.yml@v1 (secrets: inherit). on: and
concurrency: preserved verbatim; name: kept. Defaults used (GROUP env,
coverage on, coverage-directories src,ext), so no `with:` needed.
- test/test_groups.toml: [Core] on [lts,1,pre], [QA] on [lts,1]; both
carry os=[ubuntu-latest,windows-latest,macos-latest] to preserve the
old 3-OS coverage.
- Rename the inline QA group nopre -> QA: move test/nopre to test/qa with
an isolated env (test/qa/Project.toml uses [sources] path=../.. for the
package, julia="1.10" compat) and qa.jl holding the Aqua/ExplicitImports/
JET checks. runtests.jl now gates these on GROUP=="QA", activating
test/qa, developing the package, instantiating, then including qa.jl.
Matrix reproduces the old Tests.yml exactly (15 jobs: Core x{lts,1,pre}x3
OS = 9; QA x{lts,1}x3 OS = 6), modulo the nopre->QA group rename, verified
statically via compute_affected_sublibraries.jl --root-matrix.
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The QA group activates test/qa and runs the qa.jl include wrapped in `@safetestset` (runtests.jl). The @safetestset macro expands to a module doing `using Test, SafeTestsets`, which resolves against the active (qa) project, so SafeTestsets must be a dep of test/qa, not just the root test env. Without it the QA group fails to load SafeTestsets. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Remove the os matrix axis from the [QA] group in test/test_groups.toml so QA (Aqua/JET/ExplicitImports) runs only on ubuntu-latest across its [lts, 1] versions. These checks are platform-independent, so there is no value in running them on windows/macos. Core/functional groups keep their full os matrix. QA verified green locally (GROUP=QA, Julia 1.11): Quality Assurance 13/13. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
ChrisRackauckas
marked this pull request as ready for review
June 10, 2026 09:44
Saswatsusmoy
added a commit
to Saswatsusmoy/ReservoirComputing.jl
that referenced
this pull request
Jun 15, 2026
Resolve PR2 vs master conflicts after the SciMLTesting v1.2 migration landed on master (PR SciML#454, SciML#453, SciML#452, SciML#451, SciML#449): - Project.toml: keep our weakdeps (DataInterpolations, OrdinaryDiffEq, SciMLBase), our compat bumps (NNlib 0.9.30, PrecompileTools 1.2), and our test extras. Adopt master's SciMLTesting test dep, drop the Pkg test dep that master removed (the v1.2 harness owns Pkg ops). - test/runtests.jl: replace the hand-rolled SafeTestsets + GROUP dispatch with `using SciMLTesting; run_tests()` — folder-discovery picks up `test/test_ode_reservoir_ext.jl` and `test/test_sciml_reservoir.jl` automatically. Also follow up on Francesco's PR-wide style review: - Rename the remaining single-letter `u` / `u_val` bindings inside RHS bodies in ext + tests + the docs example to `input_t` for consistency with the rename pass already applied PR-wide. - Add a Lorenz chaos-forecasting eye-test section in the SciML reservoir tutorial that mirrors the README ESN example but feeds the raw leaky-integrator continuous ESN equations into a `SciMLProblemReservoir` (no CTESN struct yet, per Francesco's ask). Local replay (Julia 1.10, SciMLTesting v1.2 folder-discovery): GROUP=Core passes all groups including `Core/test_ode_reservoir_ext.jl` 34/34 and `Core/test_sciml_reservoir.jl` 24/24.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts the root
Tests.ymlworkflow to the canonical SciML thin caller ofgrouped-tests.yml@v1, with the test matrix declared once intest/test_groups.toml..github/workflows/Tests.ymlis now a thin caller: the hand-maintainedgroup × version × osmatrix job is replaced byuses: SciML/.github/.github/workflows/grouped-tests.yml@v1withsecrets: inherit.on:andconcurrency:are preserved verbatim andname: "Tests"is kept. All inputs use defaults (GROUPenv name, coverage on,coverage-directories: src,ext—ext/exists), so nowith:block is needed.test/test_groups.toml(new, repo root) declares the matrix:[Core]on["lts", "1", "pre"][QA]on["lts", "1"]os = ["ubuntu-latest", "windows-latest", "macos-latest"]to preserve the old workflow's 3-OS coverage.nopreis renamed to the canonicalQAand isolated.test/nopre/is moved totest/qa/—test/qa/Project.tomlcarries the QA tooling (Aqua,ExplicitImports,JET,Test) plus the package via[sources] path = "../.."andjulia = "1.10"compat;test/qa/qa.jlholds the Aqua/ExplicitImports/JET checks.test/runtests.jlkeeps the functional suite underGROUP == "All"/"Core"and gates the QA checks onGROUP == "QA"(activatetest/qa,Pkg.developthe package, instantiate, then includeqa.jl).Matrix match
The emitted root matrix reproduces the old
Tests.ymlmatrix exactly (modulo thenopre→QAgroup rename), verified statically withcompute_affected_sublibraries.jl --root-matrix:Tests.ymltest_groups.toml{1, lts, pre}× 3 OS = 9Core×{lts, 1, pre}× 3 OS = 9nopre×{1, lts}× 3 OS = 6 (pre excluded)QA×{lts, 1}× 3 OS = 6Set comparison of
(group, version, os)triples:OLD ∖ NEW = ∅,NEW ∖ OLD = ∅(exact match afternopre→QA). TOML and YAML files parse cleanly. Tests / Aqua / JET were not run locally — this is a structural conversion only.Project metadata: root
[compat] juliais already"1.10"(LTS floor, unchanged); every[extras]dependency already has a[compat]entry, so no metadata fixes were required.The
QAgroup is now wired into the standard grouped-tests flow; its Aqua/ExplicitImports/JET checks run in CI. Any findings there will be triaged in a follow-up — no checks were skipped, silenced, or excluded.Other workflows (GPU, Downgrade, FormatCheck, etc.) are untouched.
Ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code