Skip to content

Commit

Permalink
Attempt to rerun flaky tests to avoid having to rerun the entire GitH…
Browse files Browse the repository at this point in the history
…ub action.
  • Loading branch information
s-ludwig committed Nov 26, 2020
1 parent c593bd3 commit 10bedb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ fi
if [ ${RUN_TEST=1} -eq 1 ]; then
for ex in `\ls -1 tests/*.d`; do
echo "[INFO] Running test $ex"
dub --temp-build --arch=$ARCH --compiler=$DC --override-config eventcore/$CONFIG --single $ex
# NOTE: timer and directory watcher tests tend to be flaky on macOS VMs
dub --temp-build --arch=$ARCH --compiler=$DC --override-config eventcore/$CONFIG --single $ex \
|| dub --temp-build --arch=$ARCH --compiler=$DC --override-config eventcore/$CONFIG --single $ex
done
fi

0 comments on commit 10bedb2

Please sign in to comment.