8000 Make code coverage less strict (GH-1438) · python/cpython@647c3d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 647c3d3

Browse files
authored
Make code coverag 10000 e less strict (GH-1438)
Set the target to be 90% since there is enough OS-specific code and things that require manual testing that we will never hit 100%. Also turn off the status checks since they are so inconsistent in terms of flagging a PR as passing/failing that they aren't useful and can actually block merging from a phone.
1 parent b109a1d commit 647c3d3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.codecov.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,12 @@ ignore:
1212
- "Grammar/*"
1313
coverage:
1414
precision: 2
15-
range:
16-
- 70.0
17-
- 100.0
15+
range: 70...90
1816
round: down
1917
status:
2018
changes: off
2119
project: off
22-
patch:
23-
default:
24-
target: 100%
25-
only_pulls: true
26-
threshold: 0.05
20+
patch: off
2721
parsers:
2822
gcov:
2923
branch_detection:

0 commit comments

Comments
 (0)
0