Skip to content

Commit

Permalink
Merge pull request #953 from bavix/codecov
Browse files Browse the repository at this point in the history
codecov github actions
  • Loading branch information
rez1dent3 committed Jun 11, 2024
2 parents e879871 + 3dcef38 commit 27e1549
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/phpunits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,12 @@ jobs:
timeout_seconds: 15
max_attempts: 3
command: >-
./cc-test-reporter after-build --coverage-input-type clover --exit-code 0;
bash <(curl -s https://codecov.io/bash)
./cc-test-reporter after-build --coverage-input-type clover --exit-code 0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ steps.codeclimate-check.outputs.execute == 'true' }}

- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ steps.codeclimate-check.outputs.execute == 'true' }}

0 comments on commit 27e1549

Please sign in to comment.