From 0667b8eee7ce33af659f5e6e09da3b31a7f78cfd Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 24 Jul 2019 20:37:47 -0500 Subject: restore the old per-language coverage files --- .coveragerc | 4 +++- .gitignore | 1 + 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 diff --git a/.gitignore b/.gitignore index e1dbc2a..3a33b6c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.pyc env*/ .coverage +.coverage.* .idea/ .tox/ nosetests.xml diff --git a/tox.ini b/tox.ini index 4c42a11..61cc9e9 100644 --- a/tox.ini +++ b/tox.ini @@ -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 = -- cgit v1.2.1