Files
42e4c04e9ec26acf79ac0f08c5ab59489b36cb2f
nova /tox.ini

61 lines
1.7 KiB
INI
Raw Normal View History

[testenv]
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir}
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
bash tools/config/generate_sample.sh -b . -p nova -o etc/nova
commands = bash tools/lintstack.sh
# Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage.
commands =
python -m nova.openstack.common.lockutils python setup.py testr --coverage \
--testr-args='(?=.*{posargs})^(?!.*test.*coverage).*$'
coverage combine
coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i
[testenv:venv]
commands = {posargs}
commands = python setup.py build_sphinx
# H803 skipped on purpose per list discussion.
[hacking]
local-check-factory = nova.hacking.checks.factory