Skip to content

Commit

Permalink
Merge pull request #153 from Sysix/coverage-unit-badge
Browse files Browse the repository at this point in the history
use right format for coverage-badge generator
  • Loading branch information
Sysix committed Feb 11, 2024
2 parents 8fa73e4 + 825cc45 commit 674a380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
composer install --prefer-dist
- name: Execute tests with coverage
run: vendor/bin/phpunit --configuration 'phpunit.xml' --coverage-clover=coverage.xml
run: vendor/bin/phpunit --configuration 'phpunit.xml' --coverage-clover=coverage.xml --coverage-cobertura=coverage-cobertura.xml

- if: ${{ github.event_name == 'pull_request' }}
name: Download artifact
Expand Down Expand Up @@ -65,4 +65,4 @@ jobs:
file-name: coverage.svg
badge-branch: badges
github-token: '${{ secrets.GITHUB_TOKEN }}'
coverage-file-name: ./coverage.xml
coverage-file-name: ./coverage-cobertura.xml

0 comments on commit 674a380

Please sign in to comment.