Skip to content

Commit 89702bd

Browse files
committed
WIP: Add a GHA retry wrapper
1 parent 5ff548c commit 89702bd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
- name: 'Allow attaching to running Linux processes'
2828
run: sudo sysctl kernel.yama.ptrace_scope=0
2929

30-
- run: npm test
30+
# Frida can become unresponseive, seemingly only in CI, so we need to add
31+
# retries here to make CI testing relatively reliable:
32+
- uses: nick-fields/retry@v3
33+
with:
34+
timeout_seconds: 300
35+
max_attempts: 3
36+
command: npm test
3137
env:
3238
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)