AntennaPod/.github/workflows/runTests.sh
2020-05-03 11:00:10 +02:00

13 lines
335 B
Bash

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