mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
Make code coverage 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.
This commit is contained in:
parent
b109a1d336
commit
647c3d381e
1 changed files with 2 additions and 8 deletions
10
.codecov.yml
10
.codecov.yml
|
@ -12,18 +12,12 @@ ignore:
|
|||
- "Grammar/*"
|
||||
coverage:
|
||||
precision: 2
|
||||
range:
|
||||
- 70.0
|
||||
- 100.0
|
||||
range: 70...90
|
||||
round: down
|
||||
status:
|
||||
changes: off
|
||||
project: off
|
||||
patch:
|
||||
default:
|
||||
target: 100%
|
||||
only_pulls: true
|
||||
threshold: 0.05
|
||||
patch: off
|
||||
parsers:
|
||||
gcov:
|
||||
branch_detection:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue