Skip to content

Commit

Permalink
Add detox installation step and enable AVD force creation in E2E work…
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
lposen committed Oct 17, 2024
1 parent a579f89 commit 713693d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Install detox, detox-cli react-native-cli
run: npm install -g detox detox-cli react-native-cli

- name: Setup Java
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -74,10 +77,10 @@ jobs:
api-level: 31
arch: x86_64
avd-name: ${{ steps.device.outputs.AVD_NAME }}
force-avd-creation: false
force-avd-creation: true
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-metrics
disable-animations: false
script: yarn detox test --configuration android.emu.release --headless --record-logs all
script: yarn detox test --configuration android.emu.release --headless --record-logs all --debug-synchronization 500

- name: Upload artifacts
if: failure()
Expand Down

0 comments on commit 713693d

Please sign in to comment.