diff options
author | Michael Merickel <michael@merickel.org> | 2019-07-24 20:37:47 -0500 |
---|---|---|
committer | Michael Merickel <michael@merickel.org> | 2019-07-24 20:37:47 -0500 |
commit | 0667b8eee7ce33af659f5e6e09da3b31a7f78cfd (patch) | |
tree | 9048993d211447e6df25d4cfaacd48a370cec47e | |
parent | a58c8889a5be154a1e616881cabfefeee337c718 (diff) | |
download | waitress-0667b8eee7ce33af659f5e6e09da3b31a7f78cfd.tar.gz |
restore the old per-language coverage filesproxy-header-middleware
-rw-r--r-- | .coveragerc | 4 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tox.ini | 10 |
3 files changed, 13 insertions, 2 deletions
diff --git a/.coveragerc b/.coveragerc index c2c3d96..cbacd63 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,8 @@ [run] parallel = true -concurrency = thread,multiprocessing +concurrency = + thread + multiprocessing source = waitress @@ -2,6 +2,7 @@ *.pyc env*/ .coverage +.coverage.* .idea/ .tox/ nosetests.xml @@ -6,7 +6,7 @@ envlist = [testenv] commands = - nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:} + nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:waitress} extras = testing @@ -22,6 +22,8 @@ extras = [py-cover] commands = coverage run {envbindir}/nosetests waitress + coverage combine + coverage xml -o {envname}.xml extras = testing @@ -30,10 +32,16 @@ extras = commands = {[py-cover]commands} +setenv = + COVERAGE_FILE=.coverage.py2 + [testenv:py35-cover] commands = {[py-cover]commands} +setenv = + COVERAGE_FILE=.coverage.py3 + [testenv:coverage] basepython = python3.5 commands = |