Skip to content

Commit

Permalink
Connect Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ben221199 committed May 17, 2024
1 parent e04949a commit c0513d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ jobs:
- name: Run test suite
env:
XDEBUG_MODE: coverage
run: composer run-script test
run: composer run-script test

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
}
},
"scripts": {
"test": "phpunit --coverage-text ."
"test": "phpunit --coverage-clover coverage.xml ."
}
}

0 comments on commit c0513d5

Please sign in to comment.