AntennaPod/.github/workflows/runTests.sh

13 lines
335 B
Bash
Raw Normal View History

#!/bin/zsh
set -o pipefail
2020-01-07 22:13:56 +01:00
runTests() {
./gradlew connectedPlayDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.notAnnotation=de.test.antennapod.IgnoreOnCi \
| grep -v "V/InstrumentationResultParser: INSTRUMENTATION_STATUS"
2020-01-07 22:13:56 +01:00
}
# Retry tests to make them less flaky
runTests || runTests || runTests