Skip to content

Commit

Permalink
Update cores used in test
Browse files Browse the repository at this point in the history
GitHub Actions now provides 4 cores in free runners
  • Loading branch information
williamfgc committed Feb 20, 2024
1 parent 4a5323c commit eab3c08
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 eab3c08

Please sign in to comment.