We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f22fe0c commit 3af996dCopy full SHA for 3af996d
1 file changed
.github/workflows/ci.yaml
@@ -48,8 +48,16 @@ jobs:
48
sudo echo "127.0.0.1" `hostname` | sudo tee -a /etc/hosts
49
50
- name: Test with coverage report
51
- run: npm run coverage:only
52
- timeout-minutes: 10
+ uses: nick-fields/retry@v2
+ with:
53
+ timeout_minutes: 10
54
+ max_attempts: 2
55
+ command: npm run coverage:only
56
+ # Rerun with debug logging enabled on error, but always fail the retry
57
+ new_command_on_retry: |
58
+ DEBUG=node-wot* npm run test:only
59
+ exit 1
60
+ shell: bash
61
62
- name: Upload to codecov.io
63
uses: codecov/codecov-action@v2
0 commit comments