Skip to content

Commit

Permalink
Upload test results to CodeCov
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 committed Nov 20, 2024
1 parent 7e4edec commit 3b9bed0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,17 @@ jobs:
- name: Run tests
env:
SYMFONY_DEPRECATIONS_HELPER: "${{ matrix.symfony_deprecations_helper }}"
run: vendor/bin/phpunit -v --coverage-clover=coverage.xml
run: vendor/bin/phpunit -v --coverage-clover=coverage.xml --log-junit junit.xml

- name: Upload coverage
uses: codecov/codecov-action@v3
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

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

0 comments on commit 3b9bed0

Please sign in to comment.