Add codecov configuration
parent
e5f598cdf3
commit
53b2560063
|
|
@ -0,0 +1,31 @@
|
|||
codecov:
|
||||
branch: master
|
||||
|
||||
coverage:
|
||||
precision: 2
|
||||
round: down
|
||||
range: 60...100
|
||||
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
enabled: yes
|
||||
target: auto
|
||||
if_no_uploads: error
|
||||
if_ci_failed: error
|
||||
|
||||
patch:
|
||||
default:
|
||||
enabled: yes
|
||||
target: 80%
|
||||
threshold: 60%
|
||||
if_no_uploads: error
|
||||
if_ci_failed: error
|
||||
|
||||
changes:
|
||||
default:
|
||||
enabled: yes
|
||||
if_no_uploads: error
|
||||
if_ci_failed: error
|
||||
|
||||
comment: false
|
||||
|
|
@ -22,7 +22,7 @@ matrix:
|
|||
- env: TOXENV=flake8
|
||||
- env: DRF=master
|
||||
- python: '2.7'
|
||||
- python: '3.7'
|
||||
- python: '3.7-dev'
|
||||
|
||||
install:
|
||||
- pip install -r requirements/ci.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue