File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,18 @@ jobs:
4343 - name : Install dependencies
4444 run : composer update --no-progress --optimize-autoloader ${{ matrix.composer-flags }}
4545
46- - name : Check Coding Stardard
47- run : vendor/bin/phpcs
46+ - name : Check Coding Standard
47+ run : |
48+ if [ "${{ matrix.coverage }}" == "true" ]; then
49+ vendor/bin/phpcs
50+ fi
4851
4952 - name : Test with Phpunit
5053 run : |
5154 if [ "${{ !matrix.coverage }}" == "false" ]; then
5255 vendor/bin/phpunit --no-coverage
5356 fi
54- if [ "${{ ! matrix.coverage }}" == "true" ]; then
57+ if [ "${{ matrix.coverage }}" == "true" ]; then
5558 vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
5659 bash <(curl -s https://codecov.io/bash) -f coverage.clover
5760 fi
You can’t perform that action at this time.
0 commit comments