diff --git a/test/runtests.jl b/test/runtests.jl index f79440dab5..2c8b2fb304 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -6,6 +6,7 @@ using Distributed: addprocs, nworkers using Test if get(ENV, "CI", "false") == "true" + VERSION < v"1.8-" && # workaround the hang in CI addprocs(3) # Tests in `PerformanceTestTools.@include_foreach` might cause @@ -13,7 +14,6 @@ if get(ENV, "CI", "false") == "true" # at the same time. This can happen when the tests are run via # `Pkg.test`. Doing this after `addprocs` to workaround a quirk # in Distributed.jl. - VERSION < v"1.8-" && # workaround the hang in CI LoadAllPackages.loadall() end @info "Testing with:" nworkers()