AntennaPod/.github/workflows/runEmulatorTests.sh
2022-01-22 17:16:37 +01:00

13 lines
361 B
Bash

#!/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