Skip to content

Commit 60e23b0

Browse files
authored
ci: reduce e2e retries in workflows (#367)
1 parent 98069db commit 60e23b0

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
profile: pixel_7
3838
target: google_apis_playstore
3939
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -no-metrics
40-
script: node --experimental-strip-types src/bin.ts test test/integration/replays/android/01-settings.ad --retries 3 --report-junit test/artifacts/replays-android-smoke.junit.xml
40+
script: node --experimental-strip-types src/bin.ts test test/integration/replays/android/01-settings.ad --retries 2 --report-junit test/artifacts/replays-android-smoke.junit.xml
4141

4242
- name: Upload Android artifacts
4343
if: always()

.github/workflows/ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ jobs:
5050
preferred-device-name: iPhone 17 Pro
5151

5252
- name: Run iOS simulator smoke replay
53-
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/simulator/01-settings.ad --retries 3 --report-junit test/artifacts/replays-ios-simulator-smoke.junit.xml
53+
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/simulator/01-settings.ad --retries 2 --report-junit test/artifacts/replays-ios-simulator-smoke.junit.xml
5454

5555
- name: Run iOS physical device smoke replay
5656
if: env.IOS_UDID != ''
5757
env:
5858
IOS_UDID: ${{ vars.IOS_UDID }}
59-
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/device/01-physical-lifecycle.ad --udid "$IOS_UDID" --retries 3 --report-junit test/artifacts/replays-ios-device-smoke.junit.xml
59+
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/device/01-physical-lifecycle.ad --udid "$IOS_UDID" --retries 2 --report-junit test/artifacts/replays-ios-device-smoke.junit.xml
6060

6161
- name: Upload iOS artifacts
6262
if: always()

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
run: |
116116
pnpm clean:daemon
117117
node --experimental-strip-types src/bin.ts test test/integration/replays/linux \
118-
--retries 3 \
118+
--retries 2 \
119119
--report-junit test/artifacts/replays-linux.junit.xml
120120
121121
- name: Upload Linux artifacts

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: pnpm build:macos-helper
4141

4242
- name: Run macOS integration test
43-
run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 3 --report-junit test/artifacts/replays-macos.junit.xml
43+
run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 2 --report-junit test/artifacts/replays-macos.junit.xml
4444

4545
- name: Upload macOS artifacts
4646
if: always()

.github/workflows/replays-nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
profile: pixel_7
3737
target: google_apis_playstore
3838
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -no-metrics
39-
script: node --experimental-strip-types src/bin.ts test test/integration/replays/android --retries 3 --report-junit test/artifacts/replays-android.junit.xml
39+
script: node --experimental-strip-types src/bin.ts test test/integration/replays/android --retries 2 --report-junit test/artifacts/replays-android.junit.xml
4040

4141
- name: Upload Android artifacts
4242
if: always()
@@ -81,13 +81,13 @@ jobs:
8181
preferred-device-name: iPhone 17 Pro
8282

8383
- name: Run iOS simulator replay suite
84-
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/simulator --retries 3 --report-junit test/artifacts/replays-ios-simulator.junit.xml
84+
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/simulator --retries 2 --report-junit test/artifacts/replays-ios-simulator.junit.xml
8585

8686
- name: Run iOS physical device replay suite
8787
if: env.IOS_UDID != ''
8888
env:
8989
IOS_UDID: ${{ vars.IOS_UDID }}
90-
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/device --udid "$IOS_UDID" --retries 3 --report-junit test/artifacts/replays-ios-device.junit.xml
90+
run: node --experimental-strip-types src/bin.ts test test/integration/replays/ios/device --udid "$IOS_UDID" --retries 2 --report-junit test/artifacts/replays-ios-device.junit.xml
9191

9292
- name: Upload iOS artifacts
9393
if: always()
@@ -122,7 +122,7 @@ jobs:
122122
run: pnpm build:macos-helper
123123

124124
- name: Run macOS replay suite
125-
run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 3 --report-junit test/artifacts/replays-macos.junit.xml
125+
run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 2 --report-junit test/artifacts/replays-macos.junit.xml
126126

127127
- name: Upload macOS artifacts
128128
if: always()

0 commit comments

Comments
 (0)