Skip to content

Commit

Permalink
Update Codecov.io action(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 13, 2024
1 parent e73593b commit 5f00216
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,15 @@ jobs:
run: php ./tools/composer update --no-ansi --no-interaction --no-progress

- name: Run tests with PHPUnit
run: vendor/bin/phpunit --coverage-clover=coverage.xml
run: vendor/bin/phpunit --log-junit junit.xml --coverage-clover=coverage.xml

- name: Send code coverage report to Codecov.io
- name: Upload test results to Codecov.io
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload code coverage data to Codecov.io
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 5f00216

Please sign in to comment.