Skip to content

Commit

Permalink
Add Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC committed Oct 22, 2024
1 parent d22cffa commit 949057e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
coverage_path: coverage.xml
threshold_alert: 3
threshold_warning: 50
threshold_alert: 80
threshold_warning: 90
comment_mode: update

- name: Upload Coverage to Codecov
if: ${{ success() }}
uses: codecov/codecov-action@v4
with:
file: coverage.xml
flags: ${{ matrix.php }}
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 949057e

Please sign in to comment.