Skip to content

Commit 6bd80b0

Browse files
tmadlenerjmcarcell
andauthored
Randomize the test order to detect hidden dependencies (#843)
* Randomize the test order to detect hidden dependencies * Fix typo Co-authored-by: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> --------- Co-authored-by: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com>
1 parent 22c71f4 commit 6bd80b0

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/edm4hep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
ninja -k0
6666
echo "::endgroup::"
6767
echo "::group::Test and install podio"
68-
ctest --output-on-failure
68+
ctest --output-on-failure --schedule-random -j$(nproc) --timeout 600
6969
ninja install
7070
cd $STARTDIR/podio
7171
source init.sh && source env.sh

.github/workflows/key4hep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
ninja -k0
5858
echo "::endgroup"
5959
echo "::group::Run tests"
60-
ctest --output-on-failure
60+
ctest --output-on-failure --schedule-random -j$(nproc) --timeout 600
6161
echo "::endgroup::"
6262
echo "::group::Install"
6363
ninja install

.github/workflows/sanitizers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ jobs:
5959
ninja -k0
6060
echo "::endgroup::"
6161
echo "::group::Run tests"
62-
ctest --output-on-failure
62+
ctest --output-on-failure --schedule-random -j$(nproc)
6363
echo "::endgroup::"

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
julia -e 'import Pkg; Pkg.add("StaticArrays")'
5959
echo "::endgroup"
6060
echo "::group::Run tests"
61-
ctest --output-on-failure
61+
ctest --output-on-failure --schedule-random -j$(nproc) --timeout 600
6262
echo "::endgroup::"
6363
echo "::group::Install"
6464
ninja install

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
julia -e 'import Pkg; Pkg.add("StaticArrays")'
5353
echo "::endgroup"
5454
echo "::group::Run tests"
55-
ctest --output-on-failure
55+
ctest --output-on-failure --schedule-random -j$(nproc) --timeout 600
5656
echo "::endgroup::"
5757
echo "::group::Install"
5858
ninja install

0 commit comments

Comments
 (0)