diff options
author | Benjamin Schubert <bschubert15@bloomberg.net> | 2019-12-06 09:49:22 +0000 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2020-01-13 17:32:08 +0000 |
commit | d2cf34b9f8f0230b002e1213b8783f00326439b8 (patch) | |
tree | b616e78c85fcf48223a2b151f2d49a387822fa10 /tox.ini | |
parent | f62cb1b6369f82fd216ce09d1ebd15d4f1698d9a (diff) | |
download | buildstream-d2cf34b9f8f0230b002e1213b8783f00326439b8.tar.gz |
tox.ini: Move coverage handling in commands_post.
This is not part of the test running itself, but more handling
afterwards
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -19,10 +19,11 @@ usedevelop = commands = # Running with coverage reporting enabled py{35,36,37,38}-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc {posargs} + # Running with coverage reporting disabled + py{35,36,37,38}-nocover: pytest --basetemp {envtmpdir} {posargs} +commands_post: py{35,36,37,38}-!nocover: mkdir -p .coverage-reports py{35,36,37,38}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname} - # Running with coverage reporting disabled - py{35,36,37,38}--nocover: pytest --basetemp {envtmpdir} {posargs} deps = py{35,36,37,38}: -rrequirements/requirements.txt py{35,36,37,38}: -rrequirements/dev-requirements.txt |