Skip to content

Commit 62350ae

Browse files
committed
Update E2E workflow to enable CI environment and refine Detox test configurations
1 parent c57526f commit 62350ae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/e2e-android.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
env:
5454
ITBL_API_KEY: ${{secrets.ITERABLE_API_KEY}}
5555
ITBL_ID: ${{secrets.ITBL_ID}}
56+
CI: true
5657
run: |
5758
cd example
5859
yarn detox build --configuration android.emu.release
@@ -73,14 +74,15 @@ jobs:
7374
env:
7475
ITBL_API_KEY: ${{secrets.ITERABLE_API_KEY}}
7576
ITBL_ID: ${{secrets.ITBL_ID}}
77+
CI: true
7678
with:
7779
api-level: 31
7880
arch: x86_64
7981
avd-name: ${{ steps.device.outputs.AVD_NAME }}
80-
force-avd-creation: true
82+
force-avd-creation: false
8183
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-metrics
82-
disable-animations: false
83-
script: yarn detox test --configuration android.emu.release --headless --record-logs all --debug-synchronization 500
84+
disable-animations: true
85+
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
8486

8587
- name: Upload artifacts
8688
if: failure()

0 commit comments

Comments
 (0)