File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,13 +42,15 @@ jobs:
4242 if : matrix.php-version == '8.2' && matrix.os == 'ubuntu-latest'
4343 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
4444
45- - name : Run PHPUnit
45+ - name : Run PHPUnit with coverage
46+ if : matrix.php-version == '8.2' && matrix.os == 'ubuntu-latest'
4647 run : |
47- if [[ ${{ matrix.php-version }} == '8.2' && ${{ matrix.os }} == 'ubuntu-latest' ]]; then
48- export CODECOVERAGE=1 && vendor/bin/phpunit --display-deprecations --display-incomplete --display-skipped --coverage-clover=coverage.xml
49- else
50- vendor/bin/phpunit
51- fi
48+ export CODECOVERAGE=1
49+ vendor/bin/phpunit --display-deprecations --display-incomplete --display-skipped --coverage-clover=coverage.xml
50+
51+ - name : Run PHPUnit without coverage
52+ if : matrix.php-version != '8.2' || matrix.os != 'ubuntu-latest'
53+ run : vendor/bin/phpunit
5254
5355 - name : Submit code coverage
5456 if : matrix.php-version == '8.2' && matrix.os == 'ubuntu-latest'
You can’t perform that action at this time.
0 commit comments