Skip to content

Commit 7412fb6

Browse files
committed
add rerun
1 parent 3d1f77a commit 7412fb6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/phpunits.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,13 @@ jobs:
156156

157157
- name: Send coverage
158158
id: codeclimate-send
159-
run: |
160-
./cc-test-reporter after-build --coverage-input-type clover --exit-code 0
161-
bash <(curl -s https://codecov.io/bash)
159+
uses: nick-fields/retry@v2
160+
with:
161+
timeout_seconds: 15
162+
max_attempts: 3
163+
command: >-
164+
./cc-test-reporter after-build --coverage-input-type clover --exit-code 0
165+
bash <(curl -s https://codecov.io/bash)
162166
env:
163167
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
164168
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)