Skip to content

Commit 312dbf3

Browse files
authored
Merge pull request #133 from dh-tech/feature/codecov-config
Configure codecov to check for 100% unit test coverage
2 parents 2a7bcc1 + 916ab7f commit 312dbf3

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)