Update codecov.io configuration

This commit is contained in:
Sebastian Bergmann 2025-05-25 08:40:56 +02:00
parent e935ca93a8
commit 0ef7d66753
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
1 changed files with 5 additions and 1 deletions

View File

@ -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