Skip to content

Commit 6c65d3f

Browse files
committed
Testing: Fix Android emulator flaky boot in CI, upgrade emulator-runner to v2.37.0
1 parent 694467f commit 6c65d3f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/android_gradle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,29 +66,29 @@ jobs:
6666
path: |
6767
~/.android/avd/*
6868
~/.android/adb*
69-
key: avd-30-x86_64-atd-v1
69+
key: avd-30-x86_64-google_apis-v1
7070

7171
# Create AVD and generate snapshot for caching
7272
- name: Create AVD and generate snapshot
7373
if: steps.avd-cache.outputs.cache-hit != 'true'
74-
uses: reactivecircus/android-emulator-runner@v2
74+
uses: reactivecircus/android-emulator-runner@v2.37.0
7575
with:
7676
api-level: 30
7777
arch: x86_64
78-
target: aosp_atd
78+
target: google_apis
7979
force-avd-creation: false
8080
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8181
disable-animations: true
8282
script: echo "Generated AVD snapshot for caching"
8383

8484
# Run instrumented tests on Android emulator
8585
- name: Run Android Instrumented Tests
86-
uses: reactivecircus/android-emulator-runner@v2
86+
uses: reactivecircus/android-emulator-runner@v2.37.0
8787
timeout-minutes: 15
8888
with:
8989
api-level: 30
9090
arch: x86_64
91-
target: aosp_atd
91+
target: google_apis
9292
force-avd-creation: false
9393
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
9494
disable-animations: true

0 commit comments

Comments
 (0)