Skip to content

Commit

Permalink
Parallelize CI invocation of unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Jan 22, 2021
1 parent 2b2a3e9 commit 7db2c80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ num_jobs=3
function run_tests
{
# --min-duration shows timing lines for tests with a duration of at least that many seconds.
$WINE "$@" --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS
$WINE "$@" --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS "crafting_skill_gain"&
$WINE "$@" --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS "[slow] !crafting_skill_gain"&
$WINE "$@" --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS "~[slow] ~[.]"&
wait -n
wait -n
}

# We might need binaries installed via pip, so ensure that our personal bin dir is on the PATH
Expand Down

0 comments on commit 7db2c80

Please sign in to comment.