diff --git a/.github/workflows/julia-tests.yml b/.github/workflows/julia-tests.yml index 27f25bf4f94..3ccc5f54ffd 100644 --- a/.github/workflows/julia-tests.yml +++ b/.github/workflows/julia-tests.yml @@ -115,4 +115,9 @@ jobs: - shell: julia --color=yes {0} run: | using Pkg - Pkg.test("HiGHS") + # HiGHS uses (N+1)/2 threads. HiGHS.jl parallelises the tests and, in + # the default setting, it may use up to 4 parallel jobs. This means + # HiGHS may attempt to start up to 2(N+1) threads and we get unhandled + # exceptions on macOS and a SIGTERM on linux. To avoid these errors, + # opt out of running the tests in parallel. + Pkg.test("HiGHS"; test_args=["--parallel=false"])