summaryrefslogtreecommitdiff
path: root/.github/workflows/runEmulatorTests.sh
blob: ee7a42e0ace238b4965dbacd119d3f8af9a0e944 (plain)
1
2
3
4
5
6
7
8
9
10
11
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