Files
1128a26cb4a7a56e735f862fe150f307d115e9be
ironic-python-agent /tox.ini

98 lines
2.8 KiB
INI
Raw Normal View History

2013年12月16日 15:38:02 -08:00
[tox]
skipsdist = True
2013年12月16日 15:38:02 -08:00
[testenv]
LC_ALL=en_US.utf-8
commands = ostestr {posargs}
2013年12月16日 15:38:02 -08:00
usedevelop = True
# Define virtualenv directory, port to use for functional testing, and number
# of seconds to wait for the agent to come alive during functional testing.
setenv =
VIRTUAL_ENV={envdir}
TEST_PORT=9999
2013年12月20日 16:56:40 -08:00
commands =
# the check and gate queues.
{toxinidir}/tools/run_bashate.sh {toxinidir}
2013年12月20日 16:56:40 -08:00
setenv = VIRTUAL_ENV={envdir}
ostestr {posargs}
coverage combine
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'
[testenv:venv]
envdir = {toxworkdir}/venv
commands = oslo_debug_helper -t ironic_python_agent/tests/unit {posargs}
2013年12月16日 15:38:02 -08:00
[testenv:devenv]
envdir = devenv
usedevelop = True
2014年03月17日 15:17:27 -07:00
sitepackages = False
commands =
python setup.py build_sphinx
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,imagebuild/tinyipa/tinyipafinal,imagebuild/tinyipa/tinyipabuild
# [H205] Use assert(Greater|Less)(Equal) for comparison.
# [H210] Require autospec, spec, or spec_set in mock.patch/mock.patch.object calls
[hacking]
[testenv:checkconfig]
sitepackages = False
envdir = {toxworkdir}/venv
commands =
{toxinidir}/tools/config/check_uptodate.sh
[testenv:genconfig]
sitepackages = False
envdir = {toxworkdir}/venv
commands =
oslo-config-generator --config-file=tools/config/ipa-config-generator.conf