Skip to content

Commit

Permalink
Merge pull request #73 from fschmtt/codecov
Browse files Browse the repository at this point in the history
Add codecov upload
  • Loading branch information
fschmtt authored Oct 3, 2023
2 parents 81ecc37 + 859f093 commit 917857a
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/php-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,7 @@ jobs:
- name: Run unit tests
run: vendor/bin/phpunit --testsuite unit

#- name: Generate code coverage
# uses: codecov/codecov-action@v3
# with:
# files: phpunit.cobertura.xml

- name: Generate code coverage report
uses: irongut/[email protected]
with:
format: markdown
filename: phpunit.cobertura.xml
badge: true
output: both

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
- name: Upload coverage reports
uses: codecov/codecov-action@v3
with:
recreate: true
path: code-coverage-results.md
files: phpunit.cobertura.xml

0 comments on commit 917857a

Please sign in to comment.