Skip to content

Commit 5b61610

Browse files
committed
Split JET tests to separate test group excluded from Julia pre-release
- Add JET as a separate test group in CI matrix - Exclude JET group from 'pre' Julia version (like OrdinaryDiffEq does) - This prevents CI failures from upstream type inference changes in Julia RC Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0dd38ef commit 5b61610

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/CI.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ jobs:
2222
- DataDrivenSR
2323
- DataDrivenSparse
2424
- DataDrivenLux
25+
- JET
2526
version:
2627
- '1'
2728
- 'lts'
2829
- 'pre'
30+
exclude:
31+
- group: JET
32+
version: 'pre'
2933
steps:
3034
- uses: actions/checkout@v6
3135
- uses: julia-actions/setup-julia@v2

test/runtests.jl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@ end
4141
include("./commonsolve/commonsolve.jl")
4242
end
4343
end
44-
45-
# Run JET analysis tests only in CI or when GROUP explicitly includes JET
46-
# Note: JET tests may take longer due to static analysis overhead
47-
if get(ENV, "CI", "false") == "true" || get(ENV, "RUN_JET_TESTS", "false") == "true"
48-
@safetestset "JET Static Analysis" begin
49-
include("./jet_tests.jl")
50-
end
44+
elseif GROUP == "JET"
45+
# JET tests are excluded from Julia pre-release versions in CI
46+
# to avoid failures from upstream changes in type inference
47+
@safetestset "JET Static Analysis" begin
48+
include("./jet_tests.jl")
5149
end
5250
else
5351
dev_subpkg(GROUP)

0 commit comments

Comments
 (0)