Merge pull request #15 from jkoelker/quark_cover
Only run cover on quark
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -23,6 +23,7 @@ pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
.cover-report
|
||||
.tox
|
||||
nosetests.xml
|
||||
|
||||
|
||||
7
tox.ini
7
tox.ini
@@ -25,7 +25,12 @@ commands =
|
||||
commands = python ./tools/check_i18n.py ./quantum ./tools/i18n_cfg.py
|
||||
|
||||
[testenv:cover]
|
||||
setenv = NOSE_WITH_COVERAGE=1
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
NOSE_WITH_COVERAGE=1
|
||||
NOSE_COVER_HTML=1
|
||||
NOSE_COVER_HTML_DIR=.cover-report
|
||||
NOSE_COVER_MIN_PERCENTAGE=70
|
||||
commands = nosetests --cover-package=quark {posargs}
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
Reference in New Issue
Block a user