mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Merge pull request #4862 from pradyunsg/misc/coverage-job-tox
Add a coverage job for Python 3
This commit is contained in:
commit
9ec42b6085
|
@ -1,4 +1,4 @@
|
|||
[run]
|
||||
branch = True
|
||||
omit =
|
||||
pip/_vendor/*
|
||||
src/pip/_vendor/*
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -19,6 +19,7 @@ docs/build/
|
|||
|
||||
# Unit test / coverage reports
|
||||
.tox/
|
||||
htmlcov/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
|
|
|
@ -2,6 +2,7 @@ freezegun
|
|||
pretend
|
||||
pytest
|
||||
pytest-catchlog
|
||||
pytest-cov
|
||||
pytest-rerunfailures
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -14,6 +14,10 @@ commands = py.test --timeout 300 []
|
|||
install_command = python -m pip install {opts} {packages}
|
||||
usedevelop = True
|
||||
|
||||
[testenv:coverage-py3]
|
||||
basepython = python3
|
||||
commands = py.test --timeout 300 --cov=pip --cov-report=term-missing --cov-report=xml --cov-report=html tests/unit {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/docs-requirements.txt
|
||||
basepython = python2.7
|
||||
|
|
Loading…
Reference in a new issue