Skip to content

Commit

Permalink
Merge pull request QMCPACK#4932 from williamfgc/ci-ga-runner-cores
Browse files Browse the repository at this point in the history
Update 2 to 4 cores used in tests on GitHub Actions runners
  • Loading branch information
ye-luo committed Feb 20, 2024
2 parents 4a5323c + eab3c08 commit a82117f
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions tests/test_automation/github-actions/ci/run_step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -376,20 +376,8 @@ case "$1" in
fi

# Add ctest concurrent parallel jobs
# Default for Linux GitHub Action runners
CTEST_JOBS="2"
# Default for macOS GitHub Action runners
if [[ "${GH_OS}" =~ (macOS) ]]
then
CTEST_JOBS="3"
fi

if [[ "$HOST_NAME" =~ (sulfur) || "$HOST_NAME" =~ (nitrogen) ]]
then
CTEST_JOBS="32"
fi

ctest --output-on-failure $TEST_LABEL -j $CTEST_JOBS
# 4 for Linux and macOS GitHub Actions free runners
ctest --output-on-failure $TEST_LABEL -j 4
;;

# Generate coverage reports
Expand Down

0 comments on commit a82117f

Please sign in to comment.