summaryrefslogtreecommitdiff
path: root/.github/workflows/runEmulatorTests.sh
blob: 106b69444b1aff103e3845d2807696be3c3f57e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/zsh

set -o pipefail

runTests() {
    ./gradlew connectedPlayDebugAndroidTest connectedDebugAndroidTest \
        -Pandroid.testInstrumentationRunnerArguments.notAnnotation=de.test.antennapod.IgnoreOnCi \
        | grep -v "V/InstrumentationResultParser: INSTRUMENTATION_STATUS"
}

# Retry tests to make them less flaky
runTests || runTests || runTests