Commit 0cca4d0
Canonical CI: grouped-tests.yml + root test/test_groups.toml (#217)
* Canonical CI: grouped-tests.yml + root test/test_groups.toml
Convert the root test workflow (Tests.yml, name: CI) to the canonical
SciML/.github grouped-tests.yml@v1 thin caller, with the group x version
matrix declared once in test/test_groups.toml at the repo root.
- .github/workflows/Tests.yml: replace the hand-maintained
group({CPU,QA}) x version({lts,1}) matrix job (which called the legacy
per-job tests.yml@v1) with a thin caller to grouped-tests.yml@v1.
on: and concurrency: preserved verbatim; filename + name: kept.
- test/test_groups.toml (new, root): [Core] and [QA], each on [lts, 1].
Reproduces the old matrix with the functional CPU group renamed to the
canonical Core (QA unchanged). Linux-only, no os axis.
- test/qa/Project.toml (new): isolated QA env (Aqua, ExplicitImports,
Documenter + the doctest/ExplicitImports support deps) with
DeepEquilibriumNetworks via [sources] path = "../.." and julia = "1.10".
- test/qa/qa.jl: the QA checks, moved verbatim from test/qa_tests.jl
(no checks added, removed, or excluded).
- test/runtests.jl: GROUP == "QA" now activates test/qa, develops the
package, instantiates, then includes qa/qa.jl. Functional tests run
under GROUP Core (CPU and ALL still accepted for back-compat).
- test/shared_testsetup.jl: treat BACKEND_GROUP "core" as CPU so the
renamed Core group selects the CPU device.
Project.toml already satisfies the benign-metadata checks: [compat]
julia = "1.10" (LTS floor) and every [extras] dep has a [compat] entry.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Fold GPU.yml CUDA tests into the [GPU] test group
The bespoke .github/workflows/GPU.yml ran the functional suite on the
self-hosted CUDA runner with BACKEND_GROUP=CUDA. That is now a [GPU] group in
test/test_groups.toml (versions ["1"], runner [self-hosted, Linux, X64, gpu],
timeout 240) executed by the grouped-tests.yml@v1 caller, with runtests.jl
setting BACKEND_GROUP=CUDA for GROUP=GPU. The workflow's gpu-docs job was a
duplicate of the centralized documentation.yml already on main, so GPU.yml is
deleted outright.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Adopt SciMLTesting v1.2 folder-based run_tests (on top of grouped-tests conversion)
DEQ's GROUP semantics are backend/capability-based, not folder-partitioned: the
GPU group runs the *same* Core test files (utils_tests.jl + layers_tests.jl) with
shared_testsetup.jl's backend switched to CUDA via BACKEND_GROUP, so it cannot be
expressed as a separate folder of files. Use explicit-args run_tests (v1.2):
core = the two top-level Core files (each in its own @safetestset), GPU group =
same body with BACKEND_GROUP=CUDA, QA = test/qa sub-env. Curated all=["Core"] so
the self-hosted GPU lane and QA stay out of the aggregate. Drop Pkg from the test
deps (only the old harness used it; SciMLTesting handles activate/develop now) and
add SciMLTesting + SafeTestsets to the QA sub-env. test_groups.toml unchanged.
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>
Co-authored-by: ChrisRackauckas-Claude <claude@chrisrackauckas.com>1 parent 1d71fca commit 0cca4d0
8 files changed
Lines changed: 69 additions & 98 deletions
File tree
- .github/workflows
- test
- qa
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 20 | + | |
34 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | 76 | | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
17 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments