1
1
Fork 0
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:
Pradyun Gedam 2017-11-15 14:02:18 +05:30 committed by GitHub
commit 9ec42b6085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,4 @@
[run]
branch = True
omit =
pip/_vendor/*
src/pip/_vendor/*

1
.gitignore vendored
View file

@ -19,6 +19,7 @@ docs/build/
# Unit test / coverage reports
.tox/
htmlcov/
.coverage
.coverage.*
.cache

View file

@ -2,6 +2,7 @@ freezegun
pretend
pytest
pytest-catchlog
pytest-cov
pytest-rerunfailures
pytest-timeout
pytest-xdist

View file

@ -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