diff options
author | Tim Harder <radhermit@gmail.com> | 2015-07-13 22:51:40 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2015-07-13 22:51:40 -0400 |
commit | c54bd58231b8ce5d6c1cf8b1085bd25b086b1a2f (patch) | |
tree | fdd67b447af0f5f8c3856994c1f92821f4bd5fb8 /tox.ini | |
parent | tox: try to speed up tests by parallelizing them with pytest-xdist (diff) | |
download | pkgcore-c54bd58231b8ce5d6c1cf8b1085bd25b086b1a2f.tar.gz pkgcore-c54bd58231b8ce5d6c1cf8b1085bd25b086b1a2f.tar.bz2 pkgcore-c54bd58231b8ce5d6c1cf8b1085bd25b086b1a2f.zip |
tox: use pytest-cov instead of coverage for test coverage
Mostly because coverage doesn't appear to work with pytest-xdist's
multiprocess method of parallelizing tests.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,13 +11,13 @@ setenv = deps = pytest pytest-xdist + pytest-cov mock - coverage>=4.0a1 https://github.com/pkgcore/snakeoil/archive/master.tar.gz commands = pip install -I "{toxinidir}" cp "{toxinidir}/.coveragerc" "{envsitepackagesdir}" - coverage run -m py.test {posargs:-n 4 pkgcore/test} + py.test {posargs:-n 4 --cov pkgcore pkgcore/test} [testenv:doc] whitelist_externals = make |