File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,13 @@ jobs:
4242 restore-keys : ${{ runner.os }}-composer-
4343 - name : Install dependencies
4444 run : composer update $DEFAULT_COMPOSER_FLAGS
45- - name : PHP Unit tests for PHP 7.1
45+ - name : Run unit tests with coverage
4646 run : vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --colors=always
4747 if : matrix.php == '7.1'
48- - name : PHP Unit tests for PHP >= 7.2
48+ - name : Run unit tests without coverage
4949 run : vendor/bin/phpunit --verbose --colors=always
50- if : matrix.php >= '7.2'
51- - name : PHP Unit tests for PHP <= 7.0
52- run : vendor/bin/phpunit --verbose --colors=always
53- if : matrix.php <= '7.0'
54- - name : Code coverage
50+ if : matrix.php != '7.1'
51+ - name : Upload code coverage
5552 run : |
5653 wget https://scrutinizer-ci.com/ocular.phar
5754 php ocular.phar code-coverage:upload --format=php-clover coverage.clover
You can’t perform that action at this time.
0 commit comments