Skip to content

Commit cfca71b

Browse files
authored
ci: add codecov.yml with 90% coverage target (#10)
1 parent 84b6034 commit cfca71b

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

codecov.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
codecov:
2+
require_ci_to_pass: true
3+
4+
coverage:
5+
precision: 2
6+
round: down
7+
range: "70...100"
8+
status:
9+
project:
10+
default:
11+
target: 90%
12+
threshold: 2%
13+
patch:
14+
default:
15+
target: 90%
16+
threshold: 5%
17+
18+
comment:
19+
layout: "reach,diff,flags,files"
20+
behavior: default
21+
require_changes: true
22+
require_base: false
23+
require_head: true
24+
25+
ignore:
26+
- "**/__pycache__/**"
27+
- "dist/**"
28+
- "build/**"
29+
- ".venv/**"
30+
- "venv/**"
31+
- "coverage/**"
32+
- "**/test_*.py"
33+
- "**/*_test.py"
34+
- "**/conftest.py"
35+
- "tests/**"
36+
- "test/**"
37+
- "setup.py"
38+
- "setup.cfg"
39+
- "**/*.config.*"

0 commit comments

Comments
 (0)