Update codecov.io configuration
This commit is contained in:
parent
e935ca93a8
commit
0ef7d66753
|
|
@ -79,15 +79,19 @@ jobs:
|
|||
run: ./tools/composer update --no-ansi --no-interaction --no-progress
|
||||
|
||||
- name: Run tests with PHPUnit
|
||||
run: vendor/bin/phpunit --log-junit junit.xml --coverage-clover=coverage.xml
|
||||
run: ./vendor/bin/phpunit --log-junit test-results.xml --coverage-clover=code-coverage.xml
|
||||
|
||||
- name: Upload test results to Codecov.io
|
||||
if: ${{ !cancelled() }}
|
||||
uses: codecov/test-results-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
disable_search: true
|
||||
files: ./test-results.xml
|
||||
|
||||
- name: Upload code coverage data to Codecov.io
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
disable_search: true
|
||||
files: ./code-coverage.xml
|
||||
|
|
|
|||
Loading…
Reference in New Issue