Skip to content

Commit 8cf2bee

Browse files
committed
Perform e2e test reruns of failed tests
1 parent 867f43e commit 8cf2bee

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,41 @@ jobs:
136136
sudo bash -c "while [ ! -f docker/lnd/data/chain/bitcoin/regtest/admin.macaroon ]; do sleep 1; done"
137137
sudo chmod -R 777 docker/lnd
138138
139-
- name: Run E2E Tests (${{ matrix.shard.name }})
139+
- name: Run E2E Tests 1 (${{ matrix.shard.name }})
140+
continue-on-error: true
141+
id: test1
142+
uses: reactivecircus/android-emulator-runner@v2
143+
with:
144+
profile: pixel_6
145+
api-level: 33
146+
arch: x86_64
147+
avd-name: Pixel_6
148+
force-avd-creation: false
149+
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-front none
150+
script: cd bitkit-e2e-tests && ./ci_run_android.sh --mochaOpts.grep "${{ matrix.shard.grep }}"
151+
env:
152+
RECORD_VIDEO: true
153+
154+
- name: Run E2E Tests 2 (${{ matrix.shard.name }})
155+
continue-on-error: true
156+
id: test2
157+
if: steps.test1.outcome != 'success'
158+
uses: reactivecircus/android-emulator-runner@v2
159+
with:
160+
profile: pixel_6
161+
api-level: 33
162+
arch: x86_64
163+
avd-name: Pixel_6
164+
force-avd-creation: false
165+
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-front none
166+
script: cd bitkit-e2e-tests && ./ci_run_android.sh --mochaOpts.grep "${{ matrix.shard.grep }}"
167+
env:
168+
RECORD_VIDEO: true
169+
170+
- name: Run E2E Tests 3 (${{ matrix.shard.name }})
171+
continue-on-error: true
172+
id: test3
173+
if: steps.test1.outcome != 'success' && steps.test2.outcome != 'success'
140174
uses: reactivecircus/android-emulator-runner@v2
141175
with:
142176
profile: pixel_6

0 commit comments

Comments
 (0)