Run library instrumentation tests together with app instrumentation tests

This job already takes the longest to complete due to the slow emulator. Therefore splitting this off doesn't make much sense.
This commit is contained in:
Torsten Grote 2023-06-12 14:56:22 -03:00 committed by Hans-Christoph Steiner
parent 8266745fe9
commit 6a5022511e
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ libs database schema:
- if [ $AVD_SDK -lt 25 ] || ! emulator -accel-check; then
export FLAG=-Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest;
fi
- ./gradlew connectedFullDebugAndroidTest $FLAG
- ./gradlew :app:connectedFullDebugAndroidTest :libs:database:connectedCheck :libs:download:connectedCheck :libs:index:connectedCheck $FLAG
# Since jobs that require KVM need special runners, these jobs are

View File

@ -71,9 +71,9 @@ kotlin {
}
}
androidInstrumentedTest {
dependsOn(commonTest)
dependencies {
implementation project(":libs:sharedTest")
implementation kotlin('test')
implementation 'androidx.test:runner:1.4.0'
implementation 'androidx.test.ext:junit:1.1.3'
}