Skip to content

Commit 99cd5d4

Browse files
committed
Split JET tests into nopre group excluded from pre
- Update test/runtests.jl to use GROUP env pattern (Core and nopre groups) - Update Tests.yml to run both groups, excluding nopre from prerelease Julia - JET often has compatibility issues with prerelease Julia versions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6a0092c commit 99cd5d4

2 files changed

Lines changed: 30 additions & 16 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,14 @@ jobs:
2626
- "1"
2727
- "lts"
2828
- "pre"
29+
group:
30+
- Core
31+
- nopre
32+
exclude:
33+
- version: "pre"
34+
group: nopre
2935
uses: "SciML/.github/.github/workflows/tests.yml@v1"
3036
with:
3137
julia-version: "${{ matrix.version }}"
38+
group: ${{ matrix.group }}
3239
secrets: "inherit"

test/runtests.jl

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
using SafeTestsets
22

3-
@safetestset "Quality Assurance" begin
4-
include("qa.jl")
5-
end
6-
@safetestset "Explicit Imports" begin
7-
include("explicit_imports.jl")
8-
end
9-
@safetestset "JET Static Analysis" begin
10-
include("jet.jl")
11-
end
12-
@safetestset "POD" begin
13-
include("DataReduction.jl")
14-
end
15-
@safetestset "utils" begin
16-
include("utils.jl")
3+
const GROUP = get(ENV, "GROUP", "All")
4+
5+
if GROUP == "All" || GROUP == "Core"
6+
@safetestset "Quality Assurance" begin
7+
include("qa.jl")
8+
end
9+
@safetestset "Explicit Imports" begin
10+
include("explicit_imports.jl")
11+
end
12+
@safetestset "POD" begin
13+
include("DataReduction.jl")
14+
end
15+
@safetestset "utils" begin
16+
include("utils.jl")
17+
end
18+
@safetestset "DEIM" begin
19+
include("deim.jl")
20+
end
1721
end
18-
@safetestset "DEIM" begin
19-
include("deim.jl")
22+
23+
if GROUP == "All" || GROUP == "nopre"
24+
@safetestset "JET Static Analysis" begin
25+
include("jet.jl")
26+
end
2027
end

0 commit comments

Comments
 (0)