Skip to content

Commit 1b6a046

Browse files
committed
Skip coverage reporting
1 parent f445ccb commit 1b6a046

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/php.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ jobs:
7474
run: composer update --ignore-platform-reqs --prefer-dist --no-progress
7575

7676
- name: Run PHPUnit tests
77+
if: matrix.php-versions != env.code-coverage-version
78+
run: composer run-script phpunit --no-coverage
79+
80+
- name: Run PHPUnit tests with coverage
81+
if: matrix.php-versions == env.code-coverage-version
7782
run: composer run-script phpunit
7883

7984
- name: Run PHPStan

0 commit comments

Comments
 (0)