Skip to content

Commit eb43187

Browse files
authored
For now, skip the incremental=false tests on Julia 1.11
1 parent 1403143 commit eb43187

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/runtests.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@ Base.init_depot_path()
1616
const is_ci = tryparse(Bool, get(ENV, "CI", "")) === true
1717
const is_slow_ci = is_ci && Sys.ARCH == :aarch64
1818
const is_julia_1_6 = VERSION.major == 1 && VERSION.minor == 6
19+
const is_julia_1_6 = VERSION.major == 1 && VERSION.minor == 11
1920

2021
if is_julia_1_6
2122
@warn "This is Julia 1.6. Some tests will be skipped or modified." VERSION
2223
end
2324

25+
if is_julia_1_11
26+
@warn "This is Julia 1.11. Some tests will be skipped or modified." VERSION
27+
end
28+
2429
if is_ci
2530
@show Sys.ARCH
2631
end
@@ -73,6 +78,13 @@ end
7378
app_compiled_dir = joinpath(tmp, "MyAppCompiled")
7479
@testset for incremental in (is_slow_ci ? (false,) : (true, false))
7580
if incremental == false
81+
if is_julia_1_11
82+
# On Julia 1.11, `incremental=false` is currently broken: https://github.com/JuliaLang/PackageCompiler.jl/issues/976
83+
# So, for now, we skip the `incremental=false` tests on Julia 1.11
84+
@warn "This is Julia 1.11; skipping incremental=false test due to known bug: https://github.com/JuliaLang/PackageCompiler.jl/issues/976`
85+
@test_broken false
86+
continue
87+
end
7688
filter_stdlibs = (is_slow_ci ? (true, ) : (true, false))
7789
else
7890
filter_stdlibs = (false,)

0 commit comments

Comments
 (0)