summaryrefslogtreecommitdiff
path: root/.github/workflows/runTests.sh
diff options
context:
space:
mode:
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