File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,13 @@ jobs:
2828 runs-on : ubuntu-latest
2929 strategy :
3030 matrix :
31- php : ['7.1', '7. 2', '7.3', '7.4']
32- coverage : [true ]
31+ php : ['7.2', '7.3', '7.4']
32+ coverage : [pcov ]
3333 composer-flags : ['']
3434 include :
35+ - php : ' 7.1'
36+ coverage : xdebug
37+ composer-flags : ' '
3538 - php : ' 8.0'
3639 coverage : false
3740 composer-flags : ' --ignore-platform-req=php'
4346 with :
4447 php-version : ${{ matrix.php }}
4548 extensions : curl
46- coverage : pcov
49+ coverage : ${{ matrix.coverage }}
4750 tools : composer:v2
4851
4952 - run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
@@ -55,10 +58,10 @@ jobs:
5558 - run : composer update --no-progress ${{ matrix.composer-flags }}
5659
5760 - run : vendor/bin/phpunit --no-coverage
58- if : ${{ ! matrix.coverage }}
61+ if : ${{ matrix.coverage == 'none' }}
5962
6063 - run : vendor/bin/phpunit --coverage-text
61- if : ${{ matrix.coverage }}
64+ if : ${{ matrix.coverage != 'none' }}
6265
6366 phpstan :
6467 name : PHPStan
You can’t perform that action at this time.
0 commit comments