Skip to content

Commit 7338146

Browse files
committed
Cleaner fix for JET issue
1 parent c144e96 commit 7338146

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
version:
2323
- 'lts'
2424
- '1'
25-
# - 'pre'
25+
- 'pre'
2626
steps:
2727
- uses: actions/checkout@v4
2828
- uses: julia-actions/setup-julia@v2

test/runtests.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ using JET
1515
@info "- running Aqua.jl tests..."
1616
Aqua.test_all(ExplainableAI; ambiguities=false)
1717
end
18-
@testset "JET tests" begin
19-
@info "- running JET.jl type stability tests..."
20-
JET.test_package(ExplainableAI; target_defined_modules=true)
18+
if VERSION <= v"1.12" # TODO: remove. As of PR #184, JET fails on pre-release builds.
19+
@testset "JET tests" begin
20+
@info "- running JET.jl type stability tests..."
21+
JET.test_package(ExplainableAI; target_defined_modules=true)
22+
end
2123
end
2224
end
2325

0 commit comments

Comments
 (0)