Skip to content

Commit

Permalink
Merge pull request #4862 from pradyunsg/misc/coverage-job-tox
Browse files Browse the repository at this point in the history
Add a coverage job for Python 3
  • Loading branch information
pradyunsg authored Nov 15, 2017
2 parents 8f6b4c9 + afbbacf commit 9ec42b6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[run]
branch = True
omit =
pip/_vendor/*
src/pip/_vendor/*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ docs/build/

# Unit test / coverage reports
.tox/
htmlcov/
.coverage
.coverage.*
.cache
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ freezegun
pretend
pytest
pytest-catchlog
pytest-cov
pytest-rerunfailures
pytest-timeout
pytest-xdist
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ec42b6

Please sign in to comment.