Skip to content

Commit 65cdf5e

Browse files
committed
Tests are run once for each mod set
1 parent 6caac0d commit 65cdf5e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
pch: 1
108108
archive-success: basic-build
109109
dont_skip_data_only_changes: 1
110-
mods: --mods=magiclysm
110+
mods: --mods="magiclysm|xedra_evolved"
111111
title: Basic Build and Test (Clang oldest supported, Ubuntu, Curses)
112112
ccache_limit: 4.5G
113113
ccache_key: linux-llvm-13

build-scripts/gha_test_only.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ else
5858
parallel -j "$num_test_jobs" ${parallel_opts} "run_test './tests/cata_test' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
5959
if [ -n "$MODS" ]
6060
then
61-
parallel -j "$num_test_jobs" ${parallel_opts} "run_test './tests/cata_test' 'Mods-('{}')=> ' $(printf %q "${MODS}") --user-dir=modded_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
61+
for MODSET in ${MODS//|/ }; do
62+
parallel -j "$num_test_jobs" ${parallel_opts} "run_test './tests/cata_test' 'Mods-('{}')=> ' $(printf %q "${MODSET}") --user-dir=modded_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
63+
done
6264
fi
6365

6466
if [ -n "$TEST_STAGE" ]

0 commit comments

Comments
 (0)