CI: use orchestrator to continue tests after crash + set overall timeout.

This commit is contained in:
Dennis Guse
2021-07-15 17:04:32 +02:00
parent 18702bb6b3
commit bfdc04fbd9
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@ name: Test
on: [ push ] on: [ push ]
jobs: jobs:
test: test:
timeout-minutes: 45
runs-on: macos-latest runs-on: macos-latest
strategy: strategy:
matrix: matrix:
+3
View File
@@ -66,6 +66,7 @@ android {
targetSdkVersion 30 targetSdkVersion 30
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
} }
buildTypes { buildTypes {
@@ -104,4 +105,6 @@ dependencies {
androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'org.mockito:mockito-android:3.10.0' androidTestImplementation 'org.mockito:mockito-android:3.10.0'
androidTestUtil 'androidx.test:orchestrator:1.4.0'
} }