Skip to content

Commit f2b4990

Browse files
committed
Add code coverage for scrutinizer
1 parent 57f2354 commit f2b4990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
composer install --no-progress --prefer-dist --optimize-autoloader
4242
4343
- name: Run PHPUnit
44-
run: php vendor/bin/phpunit
44+
run: php vendor/bin/phpunit --coverage-clover=coverage.clover && wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
4545

4646
phpunit:
4747
runs-on: ${{ matrix.operating-system }}

0 commit comments

Comments
 (0)