From 5f00216aabf7c9fb50d8070694905de0b1334368 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Tue, 13 Aug 2024 11:32:09 +0200 Subject: [PATCH] Update Codecov.io action(s) --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f0bf10b..427efccc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}