Skip to content

Commit

Permalink
Merge pull request #458 from KasperskyLab/TECH-Restart-CI-AVD-on-star…
Browse files Browse the repository at this point in the history
…tup-fail

TECH: restart AVD if startup fails
  • Loading branch information
Nikitae57 authored Dec 13, 2022
2 parents 655e0c2 + b4404db commit c96b51d
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 c96b51d

Please sign in to comment.