From 5044cb552755f1d0b5eb44c87aa2725857138156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 7 Apr 2026 20:28:56 +0200 Subject: [PATCH] ci: reduce e2e retries in workflows --- .github/workflows/android.yml | 2 +- .github/workflows/ios.yml | 4 ++-- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/replays-nightly.yml | 8 ++++---- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 288c80a6..cad94c6e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -37,7 +37,7 @@ jobs: profile: pixel_7 target: google_apis_playstore emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -no-metrics - 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 + 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 - name: Upload Android artifacts if: always() diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index a37b8fff..03beb69a 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -50,13 +50,13 @@ jobs: preferred-device-name: iPhone 17 Pro - name: Run iOS simulator smoke replay - 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 + 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 - name: Run iOS physical device smoke replay if: env.IOS_UDID != '' env: IOS_UDID: ${{ vars.IOS_UDID }} - 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 + 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 - name: Upload iOS artifacts if: always() diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8fa8c438..e414d9da 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -115,7 +115,7 @@ jobs: run: | pnpm clean:daemon node --experimental-strip-types src/bin.ts test test/integration/replays/linux \ - --retries 3 \ + --retries 2 \ --report-junit test/artifacts/replays-linux.junit.xml - name: Upload Linux artifacts diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7afb18b2..c58e6780 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -40,7 +40,7 @@ jobs: run: pnpm build:macos-helper - name: Run macOS integration test - run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 3 --report-junit test/artifacts/replays-macos.junit.xml + run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 2 --report-junit test/artifacts/replays-macos.junit.xml - name: Upload macOS artifacts if: always() diff --git a/.github/workflows/replays-nightly.yml b/.github/workflows/replays-nightly.yml index 913922bb..ace20881 100644 --- a/.github/workflows/replays-nightly.yml +++ b/.github/workflows/replays-nightly.yml @@ -36,7 +36,7 @@ jobs: profile: pixel_7 target: google_apis_playstore emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -no-metrics - script: node --experimental-strip-types src/bin.ts test test/integration/replays/android --retries 3 --report-junit test/artifacts/replays-android.junit.xml + script: node --experimental-strip-types src/bin.ts test test/integration/replays/android --retries 2 --report-junit test/artifacts/replays-android.junit.xml - name: Upload Android artifacts if: always() @@ -81,13 +81,13 @@ jobs: preferred-device-name: iPhone 17 Pro - name: Run iOS simulator replay suite - 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 + 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 - name: Run iOS physical device replay suite if: env.IOS_UDID != '' env: IOS_UDID: ${{ vars.IOS_UDID }} - 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 + 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 - name: Upload iOS artifacts if: always() @@ -122,7 +122,7 @@ jobs: run: pnpm build:macos-helper - name: Run macOS replay suite - run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 3 --report-junit test/artifacts/replays-macos.junit.xml + run: node --experimental-strip-types src/bin.ts test test/integration/replays/macos --retries 2 --report-junit test/artifacts/replays-macos.junit.xml - name: Upload macOS artifacts if: always()