Skip to content

Commit 68c417f

Browse files
fix: update emulator step to install app before running E2E tests
1 parent 8d3d10d commit 68c417f

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/android.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -memory 4096
105105
script: echo "Generated AVD snapshot for caching."
106106

107-
# Launch emulator
107+
# Launch AVD and install app
108108
- name: Run Harness E2E tests
109109
uses: reactivecircus/android-emulator-runner@b530d96654c385303d652368551fb075bc2f0b6b
110110
with:
@@ -118,14 +118,7 @@ jobs:
118118
disable-animations: true
119119
emulator-boot-timeout: 900
120120
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -memory 4096
121-
# script: |
122-
# yarn app:install:android
123-
# yarn harness:android
124-
125-
# Install app on simulator
126-
- name: Install app on simulator
127-
working-directory: example
128-
run: yarn app:install:android
121+
script: yarn app:install:android
129122

130123
# Run tests
131124
- name: Run Harness E2E tests

0 commit comments

Comments
 (0)