Fix coverage command for tox

This patch fixes to specify project name directly and ignores cover/
directory in running 'tox -e cover'.

Change-Id: I76ed822a6143269ea1bc75c04164262360cde30a
This commit is contained in:
Yushiro FURUKAWA 2018-08-16 17:52:58 +09:00
parent d8f1f1c73b
commit 2ba631074d
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -22,6 +22,7 @@ lib64
pip-log.txt
# Unit test / coverage reports
cover/*
.coverage
.tox
.stestr/

View File

@ -20,7 +20,7 @@ commands = {posargs}
[testenv:cover]
setenv =
PYTHON=coverage run --source $project --parallel-mode
PYTHON=coverage run --source scciclient --parallel-mode
commands =
stestr run '{posargs}'
coverage combine