Skip to content

Commit b8c04fb

Browse files
committed
add coverage badge
1 parent 437424a commit b8c04fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,9 @@ jobs:
3030
run: composer install --prefer-dist --no-progress
3131

3232
- name: Run test suite
33-
run: vendor/bin/phpunit
33+
run: vendor/bin/phpunit --coverage-clover clover.xml
34+
35+
- name: phpunit-coverage-badge
36+
uses: timkrase/phpunit-coverage-badge@v1.2.0
37+
38+

0 commit comments

Comments
 (0)