Skip to content

Commit

Permalink
Update E2E workflow to enable CI environment and refine Detox test co…
Browse files Browse the repository at this point in the history
…nfigurations
  • Loading branch information
lposen committed Oct 17, 2024
1 parent c57526f commit 62350ae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
env:
ITBL_API_KEY: ${{secrets.ITERABLE_API_KEY}}
ITBL_ID: ${{secrets.ITBL_ID}}
CI: true
run: |
cd example
yarn detox build --configuration android.emu.release
Expand All @@ -73,14 +74,15 @@ jobs:
env:
ITBL_API_KEY: ${{secrets.ITERABLE_API_KEY}}
ITBL_ID: ${{secrets.ITBL_ID}}
CI: true
with:
api-level: 31
arch: x86_64
avd-name: ${{ steps.device.outputs.AVD_NAME }}
force-avd-creation: true
force-avd-creation: false
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 --debug-synchronization 500
disable-animations: true
script: yarn detox test --configuration android.emu.release --headless --record-logs all --record-videos failing --take-screenshots failing --record-timeline all --capture-view-hierarchy enabled --cleanup --maxWorkers=2 --workers 1 --debug-synchronization 500 -l trace --cleanup --reuse

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

0 comments on commit 62350ae

Please sign in to comment.