Files
b00da8421c0f69f782cf92eba31c4a91c2199d96
nova /tox.ini

62 lines
1.8 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 \
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