Skip to content

Commit

Permalink
TECH: restart AVD if startup fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikitae57 committed Dec 13, 2022
1 parent 48c6811 commit b4404db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ check_android_task:
-n emulator
-k "system-images;android-30;google_apis;x86"
start_avd_background_script:
$ANDROID_HOME/emulator/emulator
while ! [[ $(adb devices | awk 'NR>1 {print $1}') =~ "emulator.*" ]]; do sleep 5 && $ANDROID_HOME/emulator/emulator
-avd emulator
-no-audio
-no-boot-anim
-gpu swiftshader_indirect
-no-snapshot
-no-snapshot; done;
# -no-window is not used here because the flag somehow affects the "GPS" test. actual for API=30
assemble_instrumented_tests_script:
./gradlew -PCI=true assembleDebugAndroidTest
Expand Down

0 comments on commit b4404db

Please sign in to comment.