Skip to content

Commit

Permalink
Make tox -p auto handle coverage right
Browse files Browse the repository at this point in the history
BTW I had some problems using tox -p auto before I started passing
--parallel-safe-build.  I'm not sure why that isn't on by default.
  • Loading branch information
mgedmin committed Aug 18, 2019
1 parent e4b580e commit d952fc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[tox]
envlist =
py27,py27-pure,py35,py35-pure,py36,py37,pypy,pypy3,coverage,docs
# NB: if you add new environments, please also add them to depends in
# testenv:coverage so that parallel runs (tox -p auto) will work correctly

[testenv]
commands =
Expand Down Expand Up @@ -36,6 +38,8 @@ commands =
coverage report
coverage html
coverage xml
depends = py27,py27-pure,py35,py35-pure,py36,py37,pypy,pypy3
parallel_show_output = true

[testenv:docs]
basepython =
Expand Down

0 comments on commit d952fc3

Please sign in to comment.