From 10bedb283ac0715a51889b60c9993ab5676e90e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Thu, 26 Nov 2020 14:46:55 +0100 Subject: [PATCH] Attempt to rerun flaky tests to avoid having to rerun the entire GitHub action. --- run-ci.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-ci.sh b/run-ci.sh index a4d42b2..f2b1f44 100755 --- a/run-ci.sh +++ b/run-ci.sh @@ -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