Skip to content

Commit 4bace3b

Browse files
authored
Retry failing unit tests up to 3 times, to catch flaky tests. (#272)
1 parent 5a11cbc commit 4bace3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/desktop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
LANG: en_US
134134
run: |
135135
cd build
136-
ctest --verbose
136+
ctest --verbose --repeat until-pass:3
137137
138138
- name: Run unit tests (linux)
139139
# Linux exists as its own standalone execution step in order to invoke
@@ -147,7 +147,7 @@ jobs:
147147
run: |
148148
ulimit -c unlimited
149149
cd build
150-
sudo ctest --verbose
150+
sudo ctest --verbose until-pass:3
151151
152152
- name: Prep bins for achive (linux)
153153
# Copies all of the binary files into one directory for ease in

0 commit comments

Comments
 (0)