From 7d09a0e876db94a4325f34d6bd266f893f4ab4aa Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 14 Oct 2021 18:32:38 -0400 Subject: [PATCH] CI (Buildkite): Run the Distributed test suite with multithreading enabled --- .buildkite/pipelines/main/platforms/tester_linux.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipelines/main/platforms/tester_linux.yml b/.buildkite/pipelines/main/platforms/tester_linux.yml index 8016d85523a8b..123462458cfa1 100644 --- a/.buildkite/pipelines/main/platforms/tester_linux.yml +++ b/.buildkite/pipelines/main/platforms/tester_linux.yml @@ -76,8 +76,16 @@ steps: # "MT" = multi-threaded export JULIA_NUM_THREADS=16 - # We do not run the Distributed test suite when multithreading is enabled. - export TESTS="[\"all\", \"--skip\", \"Distributed\"]" + if [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-6" ]]; then + # On Julia 1.6, we skip the Distributed test suite if multithreading is enabled. + export TESTS="[\"all\", \"--skip\", \"Distributed\"]" + elif [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-7" ]]; then + # On Julia 1.7, we skip the Distributed test suite if multithreading is enabled. + export TESTS="[\"all\", \"--skip\", \"Distributed\"]" + else + # On Julia 1.8 and later, we do not skip any test suites. + export TESTS="[\"all\"]" + fi fi fi