Commit c0a4008
Canonical CI: grouped-tests.yml + root test/test_groups.toml (#155)
* Canonical CI: grouped-tests.yml + root test/test_groups.toml
Convert the root test workflow (Tests.yml) to the canonical thin caller
SciML/.github/.github/workflows/grouped-tests.yml@v1, with the group x
version matrix declared once in test/test_groups.toml.
- Tests.yml: replace the hand-maintained version matrix job with the
grouped-tests thin caller; on:/concurrency: preserved verbatim.
- test/test_groups.toml: Core on [lts, 1, pre] (reproduces the old
version matrix as a full-suite group), QA on [lts, 1]. Linux-only.
- test/runtests.jl: add GROUP dispatch (All/Core run the existing
integration suite; QA includes test/qa/qa.jl).
- test/qa/{Project.toml,qa.jl}: new QA group running Aqua.test_all and
JET.test_package(target_defined_modules=true).
- Project.toml: bump [compat] julia 1.9 -> 1.10 (LTS floor); add
Test = "1" compat for the [extras] dependency.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* test: hoist Core-group `using` out of macro-bearing if-block
The grouped-tests conversion placed the functional `using` lines
(SymbolicNumericIntegration, Symbolics, SymbolicUtils, ...) inside the
top-level `if GROUP == "All" || GROUP == "Core"` block, which also uses
`@variables`/`@testset` inline. Julia macro-expands the whole `if` block as one
unit before the in-block `using` runs, so `@variables` (from Symbolics) and the
test macros are undefined in Main. Move those `using` lines to top level.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* QA: wire up test/qa env activation; mark Aqua piracy @test_broken
The QA group's runtests.jl included test/qa/qa.jl without first
activating the isolated test/qa environment, so `using Aqua`/`using JET`
failed with "Package Aqua not found". Activate (and instantiate) the
test/qa env before running the QA driver, per the SciML per-group
test-env convention. This requires Pkg on the root test target (added to
[extras]/[targets].test/[compat]) so runtests.jl can call Pkg.activate.
With QA now actually running on Julia 1.11: JET.test_package passes, and
Aqua passes all checks except `piracies`. The piracy finding is genuine
(Base.signbit(::Complex), Base.signbit(::SymbolicUtils.Sym) in
src/integral.jl, and DataDrivenSparse.active_set! on all-foreign types in
src/sparse.jl). To keep QA green on CI, run Aqua.test_all with
piracies = false and add an explicit @test_broken for the piracy check,
tracked in #156 for a real fix.
The [QA] group already had no `os` list, so it already runs ubuntu-only.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0cb9d5a commit c0a4008
6 files changed
Lines changed: 52 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 21 | + | |
32 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | | - | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
11 | 22 | | |
| |||
369 | 380 | | |
370 | 381 | | |
371 | 382 | | |
| 383 | + | |
| 384 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments