Rely on codecov for 100% project coverage (#264)

This commit is contained in:
Seth Michael Larson 2019-08-23 07:00:13 -05:00 committed by GitHub
parent 31748a3025
commit 46402dd59f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -30,5 +30,5 @@ script:
after_script:
- if [ -f .coverage ]; then
python -m pip install codecov;
codecov;
codecov --required;
fi

8
codecov.yml Normal file
View File

@ -0,0 +1,8 @@
coverage:
status:
patch:
default:
target: '100'
project:
default:
target: '100'

View File

@ -16,4 +16,4 @@ line_length = 88
multi_line_output = 3
[tool:pytest]
addopts = --cov=httpx --cov=tests --cov-report=term-missing --cov-fail-under=100
addopts = --cov=httpx --cov=tests --cov-report=term-missing