diff --git a/tox.ini b/tox.ini index a9c410842f..e1acfef888 100644 --- a/tox.ini +++ b/tox.ini @@ -138,6 +138,12 @@ filename=*.py,trove-* commands = openstack-doc-test --check-links {posargs} [testenv:checkbuild] +# NOTE(pmalik) The setting of the install_command in this location +# is only required because currently infra does not actually +# support constraints files for the publishdocs job, and while +# the environment variable UPPER_CONSTRAINTS_FILE is set, there's +# no file there. It can be removed when infra changes this. +install_command = pip install -U {opts} {packages} commands = openstack-doc-test --check-niceness --check-syntax --check-deletions {posargs} openstack-doc-test --check-build {posargs}