gitlab-ci: only run emulator tests for full flavor
The emulator runs are super crashy on gitlab-ci, so just run the emulator tests for the "full" build flavor. Once these prove stable, the task should be switched to connectedCheck to test all the build flavors
This commit is contained in:
parent
9d8232472f
commit
7493118a92
@ -54,6 +54,8 @@ errorprone:
|
||||
- ./gradlew assembleDebug
|
||||
allow_failure: true
|
||||
|
||||
# once these prove stable, the task should be switched to
|
||||
# connectedCheck to test all the build flavors
|
||||
.connected-template: &connected-template
|
||||
script:
|
||||
- ./gradlew assembleDebug
|
||||
@ -67,7 +69,7 @@ errorprone:
|
||||
- emulator64-arm -avd avd$AVD_SDK -no-audio -no-window -no-snapstorage &
|
||||
- wait-for-emulator
|
||||
- adb shell input keyevent 82 &
|
||||
- ./gradlew connectedCheck || (adb -e logcat -d '*:E' > logcat.txt; exit 1)
|
||||
- ./gradlew connectedFullDebugAndroidTest || (adb -e logcat -d '*:E' > logcat.txt; exit 1)
|
||||
|
||||
connected24:
|
||||
retry: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user