Skip to content

Commit

Permalink
Create codecov.yml
Browse files Browse the repository at this point in the history
Signed-off-by: David Hart <[email protected]>
  • Loading branch information
dbhart authored Sep 10, 2024
1 parent 0ed0a33 commit cdaf4dc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
coverage:
status:
project:
default:
# basic
target: auto
threshold: 5
base: auto
flags:
- "unit"
paths:
- "src/"
- "!tests/"
# advanced settings
# branches:
# - main
if_ci_failed: error #success, failure, error, ignore
informational: false
only_pulls: false
tests: # declare a new status context "tests"
target: 100% # we always want 100% coverage here
paths:
- "tests/" # only include coverage in "tests/" folder
only_pulls: true

0 comments on commit cdaf4dc

Please sign in to comment.