[Reproducible-commits] [reprotest] 03/04: Combine coverage data from different Python versions

Ceridwen ceridwen-guest at moszumanska.debian.org
Mon Jun 6 03:31:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

ceridwen-guest pushed a commit to branch master
in repository reprotest.

commit 8c1468e504d4129e3521bc3d765c5f999330c9ac
Author: Ceridwen <ceridwenv at gmail.com>
Date:   Sun Jun 5 14:30:08 2016 -0400

    Combine coverage data from different Python versions
---
 .coveragerc | 7 +++++++
 tox.ini     | 7 ++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..4a707aa
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,7 @@
+[run]
+branch = True
+
+[paths]
+source =
+  reprotest/
+  .tox/*/lib/python*/site-packages/reprotest
diff --git a/tox.ini b/tox.ini
index 4a73281..e13ae15 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,11 +7,12 @@ commands = coverage erase
 
 [testenv:coverage-stats]
 commands =
-  coverage report --ignore-errors
-  coverage html --ignore-errors
+  coverage combine
+  coverage report
+  coverage html
 
 [testenv]
 deps =
   coverage
   diffoscope
-commands = coverage run --branch tests/test.py
+commands = coverage run --parallel tests/test.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git



More information about the Reproducible-commits mailing list