summaryrefslogtreecommitdiff
path: root/.github/workflows/runTests.sh
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-01-07 22:13:56 +0100
committerByteHamster <info@bytehamster.com>2020-01-09 11:56:59 +0100
commit6c33c6895f7ff22fcdeca2049c3805e54539b6a0 (patch)
treefb91a33cee5c25a07982c5bd164958e991ba3885 /.github/workflows/runTests.sh
parenta8b126221c3ae4a4e449cd090963e2403e2c3dd3 (diff)
downloadAntennaPod-6c33c6895f7ff22fcdeca2049c3805e54539b6a0.zip
Retry tests automatically
Diffstat (limited to '.github/workflows/runTests.sh')
-rw-r--r--.github/workflows/runTests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/runTests.sh b/.github/workflows/runTests.sh
new file mode 100644
index 000000000..c631cce72
--- /dev/null
+++ b/.github/workflows/runTests.sh
@@ -0,0 +1,6 @@
+runTests() {
+ ./gradlew connectedPlayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=de.test.antennapod.IgnoreOnCi
+}
+
+# Retry tests to make them less flaky
+runTests || runTests || runTests