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:
parent
8266745fe9
commit
6a5022511e
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue