Skip to content

Commit 916ab7f

Browse files
committed
Configure codecov to check for 100% unit test coverage
1 parent 2a7bcc1 commit 916ab7f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

codecov.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
coverage:
2+
status:
3+
project:
4+
default: false # disable default status check
5+
app: # custom target for app code
6+
target: auto # default target (95%)
7+
paths:
8+
- "src/" # limit to files within src code directory
9+
tests: # declare a new status context for "tests"
10+
target: 100% # we always want 100% coverage here
11+
paths:
12+
- "tests/" # only include coverage in "tests/" folder
13+
14+

0 commit comments

Comments
 (0)