Skip to content

Commit

Permalink
Add codecov config file (#142)
Browse files Browse the repository at this point in the history
* Fail codecov CI if error

* Add codecov config file
  • Loading branch information
klaasnicolaas authored May 17, 2024
1 parent a5f5bbf commit f0689fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions template/.github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ jobs:
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
7 changes: 7 additions & 0 deletions template/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
coverage:
status:
project:
default:
target: 90
threshold: 10%

0 comments on commit f0689fa

Please sign in to comment.