Skip to content

Commit 5d999b7

Browse files
committed
fix(test): add in emulator model
1 parent a0bdbce commit 5d999b7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,10 @@ jobs:
6565
key: avd-${{ env.ANDROID_API_LEVEL }}
6666

6767
- name: Create AVD and generate snapshot for caching
68-
if: steps.avd-cache.outputs.cache-hit != 'true'
6968
uses: reactivecircus/android-emulator-runner@v2
7069
with:
71-
api-level: ${{ env.ANDROID_API_LEVEL }}
72-
device-name: "pixel_4_xl" # Set to Pixel 4 XL
70+
api-level: 33
71+
avd-name: Pixel_4_XL_API_33 # Use the exact name of your AVD
7372
force-avd-creation: false
7473
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
7574
disable-animations: false
@@ -82,8 +81,8 @@ jobs:
8281
- name: Test Mobile App (Android)
8382
uses: reactivecircus/android-emulator-runner@v2
8483
with:
85-
api-level: ${{ env.ANDROID_API_LEVEL }}
86-
device-name: "pixel_4_xl" # Ensure it runs on Pixel 4 XL
84+
api-level: 33
85+
avd-name: Pixel_4_XL_API_33 # Ensure it runs on Pixel 4 XL
8786
force-avd-creation: false
8887
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8988
disable-animations: true

0 commit comments

Comments
 (0)