Skip to content

Commit 96f17a7

Browse files
committed
test(e2e): retry android app build, it uses network resources
any step that uses network resources should be in a retry to reduce flakiness
1 parent a593054 commit 96f17a7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/tests_e2e.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,12 @@ jobs:
8585
shell: bash
8686

8787
- name: Build Android App
88-
run: cd tests/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug -Dorg.gradle.daemon=false
88+
uses: nick-invision/retry@v2
89+
with:
90+
timeout_minutes: 10
91+
retry_wait_seconds: 60
92+
max_attempts: 3
93+
command: cd tests/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug -Dorg.gradle.daemon=false
8994

9095
- name: Pre-fetch Javascript bundle
9196
# Prebuild the bundle so that's fast when the app starts.

0 commit comments

Comments
 (0)