Make coverage report human-readable
request HTML lig in tox logdir, which is accessible on gates completely ignore migrations in pylint Change-Id: Icd3bb59844abe171c075b38accbbc1e8f222d435
This commit is contained in:
parent
a34dc163b6
commit
07a2791259
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
# Add files or directories to the blacklist. They should be base names, not
|
# Add files or directories to the blacklist. They should be base names, not
|
||||||
# paths.
|
# paths.
|
||||||
ignore=CVS, tox, logs
|
ignore=CVS, tox, logs, migrations
|
||||||
|
|
||||||
# Pickle collected data for later comparisons.
|
# Pickle collected data for later comparisons.
|
||||||
persistent=yes
|
persistent=yes
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
# Add files or directories to the blacklist. They should be base names, not
|
# Add files or directories to the blacklist. They should be base names, not
|
||||||
# paths.
|
# paths.
|
||||||
ignore=CVS, tox, logs
|
ignore=CVS, tox, logs, migrations
|
||||||
|
|
||||||
# Pickle collected data for later comparisons.
|
# Pickle collected data for later comparisons.
|
||||||
persistent=yes
|
persistent=yes
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -28,6 +28,7 @@ deps =
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
py.test --cov-config .coveragerc --cov-report html --cov=devops devops/tests
|
py.test --cov-config .coveragerc --cov-report html --cov=devops devops/tests
|
||||||
|
coverage html -d {envlogdir}
|
||||||
coverage report --fail-under 80
|
coverage report --fail-under 80
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue