Skip to content

Commit

Permalink
Update php.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw authored May 24, 2022
1 parent 5bb14aa commit 4369ec7
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,3 @@ jobs:
run: composer install --no-progress --no-suggest --no-interaction --prefer-dist --optimize-autoloader
- name: Run test suite
run: composer ci

- name: Setup PHP for coverage
if: matrix.php == '7.4'
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug

- name: Generate coverage
if: matrix.php == '7.4'
run: vendor/bin/phpunit --coverage-clover coverage.clover

- name: Upload Scrutinizer coverage
if: matrix.php == '7.4'
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover coverage.clover"

0 comments on commit 4369ec7

Please sign in to comment.