Merge "Use upper constraints for all jobs in tox.ini"
This commit is contained in:
commit
9a71c33451
19
tox.ini
19
tox.ini
@ -93,10 +93,6 @@ commands =
|
||||
bandit -r magnum -x tests -n5 -ll
|
||||
|
||||
[testenv:venv]
|
||||
# NOTE(jaegerandi): This target does not use constraints because
|
||||
# upstream infra does not yet support it. Once that's fixed, we can
|
||||
# drop the install_command.
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:bandit]
|
||||
@ -104,17 +100,10 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = bandit -r magnum -x tests -n5 -ll
|
||||
|
||||
[testenv:cover]
|
||||
# NOTE(NiallBunting) Infra does not support constraints for the cover
|
||||
# job. While the file is set no file is there. Can be removed once infra
|
||||
# changes this.
|
||||
install_command = pip install -U {opts} {packages}
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
coverage report
|
||||
|
||||
[testenv:docs]
|
||||
# NOTE(NiallBunting) This is a post job. So upper constraints will not
|
||||
# apply here.
|
||||
install_command = pip install -U {opts} {packages}
|
||||
commands =
|
||||
doc8 -e .rst specs/ doc/source/ contrib/ CONTRIBUTING.rst HACKING.rst README.rst
|
||||
python setup.py build_sphinx
|
||||
@ -139,17 +128,9 @@ deps = pip_missing_reqs
|
||||
commands=pip-missing-reqs -d --ignore-file=magnum/tests/* magnum
|
||||
|
||||
[testenv:releasenotes]
|
||||
# NOTE(sdague): this target does not use constraints because
|
||||
# upstream infra does not yet support it. Once that's fixed, we can
|
||||
# drop the install_command.
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands =
|
||||
rm -rf releasenotes/build
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:install-guide]
|
||||
# NOTE(jaegerandi): this target does not use constraints because
|
||||
# upstream infra does not yet support it. Once that's fixed, we can
|
||||
# drop the install_command.
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
|
||||
|
Loading…
x
Reference in New Issue
Block a user