Skip to content

Commit 891a9cf

Browse files
committed
Separate code coverage report from PHPUnit step in CI job
1 parent ba93574 commit 891a9cf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ jobs:
129129
run: bin/phpunit --version
130130

131131
- name: Run PHPUnit
132-
run: bin/phpunit --coverage-text ${{ env.PHPUNIT_FLAGS }}
132+
run: bin/phpunit --coverage-text=var/coverage.txt ${{ env.PHPUNIT_FLAGS }}
133+
134+
- name: Code coverage
135+
run: cat var/coverage.txt
133136

134137
phpunit-lowest:
135138
name: "PHPUnit (Lowest dependencies)"

0 commit comments

Comments
 (0)