Skip to content

Commit

Permalink
ci.yml : adding each version of PHP to the code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanlevert committed Dec 1, 2023
1 parent 5c5d895 commit adb78e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ jobs:
run: composer install --no-ansi --no-interaction --no-progress

- name: Run tests with PHPUnit
run: vendor/bin/phpunit --coverage-clover coverage.xml
run: vendor/bin/phpunit --coverage-clover coverage-${{ matrix.php-version }}.xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage-*.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit adb78e9

Please sign in to comment.