diff --git a/.github/workflows/php-cs-stan-unit.yml b/.github/workflows/php-cs-stan-unit.yml index 86090e6..7c2d709 100644 --- a/.github/workflows/php-cs-stan-unit.yml +++ b/.github/workflows/php-cs-stan-unit.yml @@ -165,8 +165,9 @@ jobs: run: 'vendor/bin/phpunit --coverage-clover=${{ env.FILE_PREFIX }}-clover.xml --log-junit ${{ env.FILE_PREFIX }}-junit.xml' - name: Upload test results to Codecov - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v7 with: + report_type: test_results files: './${{ env.FILE_PREFIX }}-junit.xml' token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/php-unit.yml b/.github/workflows/php-unit.yml index b8b703a..9d63ac3 100644 --- a/.github/workflows/php-unit.yml +++ b/.github/workflows/php-unit.yml @@ -98,8 +98,9 @@ jobs: run: 'vendor/bin/phpunit --coverage-clover=${{ env.FILE_PREFIX }}-clover.xml --log-junit ${{ env.FILE_PREFIX }}-junit.xml' - name: Upload test results to Codecov - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v7 with: + report_type: test_results files: './${{ env.FILE_PREFIX }}-junit.xml' token: ${{ secrets.CODECOV_TOKEN }}