Skip to content

Commit 4f9452c

Browse files
committed
use right format for coverage-badge generator
1 parent 130f8e4 commit 4f9452c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/coverage-report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
run: |
2828
composer install --prefer-dist
2929
30-
- name: Execute tests with coverage
31-
run: vendor/bin/phpunit --configuration 'phpunit.xml' --coverage-clover=coverage.xml
30+
- name: Execute tests with coverage (for comment)
31+
run: vendor/bin/phpunit --configuration 'phpunit.xml' --coverage-clover=coverage.xml ' --coverage-cobertura=coverage-cobertura.xml
3232

3333
- if: ${{ github.event_name == 'pull_request' }}
3434
name: Download artifact
@@ -65,4 +65,4 @@ jobs:
6565
file-name: coverage.svg
6666
badge-branch: badges
6767
github-token: '${{ secrets.GITHUB_TOKEN }}'
68-
coverage-file-name: ./coverage.xml
68+
coverage-file-name: ./coverage-cobertura.xml

0 commit comments

Comments
 (0)