diff options
Diffstat (limited to '.github/workflows/runEmulatorTests.sh')
-rw-r--r-- | .github/workflows/runEmulatorTests.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/runEmulatorTests.sh b/.github/workflows/runEmulatorTests.sh new file mode 100644 index 000000000..ee7a42e0a --- /dev/null +++ b/.github/workflows/runEmulatorTests.sh @@ -0,0 +1,12 @@ +#!/bin/zsh + +set -o pipefail + +runTests() { + ./gradlew connectedPlayDebugAndroidTest \ + -Pandroid.testInstrumentationRunnerArguments.notAnnotation=de.test.antennapod.IgnoreOnCi \ + | grep -v "V/InstrumentationResultParser: INSTRUMENTATION_STATUS" +} + +# Retry tests to make them less flaky +runTests || runTests || runTests |