Skip to content

Commit

Permalink
Don't try to send coverage for PHP 8.1 and 8.2 too
Browse files Browse the repository at this point in the history
  • Loading branch information
Lustmored committed Dec 21, 2023
1 parent f3fc378 commit 9465ca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
run: vendor/bin/phpunit --coverage-clover build/coverage-clover.xml

- name: Send coverage results to Scrutinizer CI
if: matrix.php != '8.0'
if: matrix.php != '8.0' and matrix.php != '8.1' and matrix.php != '8.2'
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover build/coverage-clover.xml
Expand All @@ -101,7 +101,7 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: 'PHP ${{ matrix.php }} + ${{ matrix.symfony }}'
if: matrix.php != '8.0'
if: matrix.php != '8.0' and matrix.php != '8.1' and matrix.php != '8.2'
run: |
composer global require php-coveralls/php-coveralls
php-coveralls -x build/coverage-clover.xml -o build/coveralls-upload.json -v
Expand Down

0 comments on commit 9465ca8

Please sign in to comment.