2020-05-03 00:03:59 +02:00
|
|
|
#!/bin/zsh
|
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
2020-01-07 22:13:56 +01:00
|
|
|
runTests() {
|
2020-04-01 17:33:01 +02:00
|
|
|
./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
|