Skip to content

Commit

Permalink
Run coverage on PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel authored Jun 25, 2022
1 parent 1c5027c commit fb1653b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:

- name: Run PHPUnit
run: vendor/bin/phpunit
if: ${{ matrix.php-version != '8.0' }}
if: ${{ matrix.php-version != '8.1' }}

- name: Run PHPUnit with coverage
run: |
mkdir -p build/logs
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.1' }}

- name: Upload coverage report to Coveralls
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.1' }}

0 comments on commit fb1653b

Please sign in to comment.