Skip to content

Commit 27e1549

Browse files
authored
Merge pull request #953 from bavix/codecov
codecov github actions
2 parents e879871 + 3dcef38 commit 27e1549

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/phpunits.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,12 @@ jobs:
160160
timeout_seconds: 15
161161
max_attempts: 3
162162
command: >-
163-
./cc-test-reporter after-build --coverage-input-type clover --exit-code 0;
164-
bash <(curl -s https://codecov.io/bash)
163+
./cc-test-reporter after-build --coverage-input-type clover --exit-code 0
165164
env:
166165
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
167-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
166+
if: ${{ steps.codeclimate-check.outputs.execute == 'true' }}
167+
168+
- uses: codecov/codecov-action@v4
169+
with:
170+
token: ${{ secrets.CODECOV_TOKEN }}
168171
if: ${{ steps.codeclimate-check.outputs.execute == 'true' }}

0 commit comments

Comments
 (0)