Skip to content

Commit 01ce88e

Browse files
committed
fix: update E2E workflow for improved Android emulator options and logging
- Changed the emulator options in the E2E workflow to use "gpu host" for better performance. - Enhanced the testing script to include logging of adb output to a file, improving debugging capabilities during end-to-end tests. - These updates aim to streamline the testing process and provide better insights into test execution.
1 parent 68d12e8 commit 01ce88e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ jobs:
155155
target: google_apis
156156
arch: x86_64
157157
disable-animations: true
158-
emulator-options: "-no-snapshot -no-boot-anim -no-window -gpu swiftshader_indirect -memory 2048 -cores 1"
159-
script: npm start & METRO_PID=$! && cd android && ./gradlew assembleDebug && cd .. && adb install -r android/app/build/outputs/apk/debug/app-debug.apk && npm run e2e:test && pkill -f "Metro" || true
158+
emulator-options: "-no-snapshot -no-boot-anim -no-window -gpu host -memory 2048 -cores 1"
159+
script: npm start & METRO_PID=$! && cd android && ./gradlew assembleDebug && cd .. && adb install -r android/app/build/outputs/apk/debug/app-debug.apk && adb logcat *:E > logcat.txt & npm run e2e:test && pkill -f "Metro" || true
160160

161161
- name: Upload test results
162162
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)