Skip to content

Commit

Permalink
Try another workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Dec 24, 2021
1 parent 3118cd5 commit 055fbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ 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
# pre-compilation errors as two processes try to compile packages
# 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()
Expand Down

0 comments on commit 055fbf3

Please sign in to comment.