Files
915918aea65d9d62bc72e851948f83986814ac9c
nova /tox.ini

76 lines
2.3 KiB
INI
Raw Normal View History

[testenv]
whitelist_externals = bash
find
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir}
# mode. To do this define the TRACE_FAILONLY environmental variable.
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
[testenv:pip-missing-reqs]
# do not install test-requirements as that will pollute the virtualenv for
# determining missing packages
# this also means that pip-missing-reqs must be installed separately, outside
# of the requirements.txt files
deps = pip_missing_reqs
-rrequirements.txt
commands=pip-missing-reqs -d --ignore-file=nova/tests/* nova