Add the requirements.txt file to the tox deps

The requirements.txt file was missing in the tox dependencies. That
will enforce the requirements installation using the requirements
limits.

Change-Id: I777c1ad808e0ef8622f199c6839e73a2f535434d
Closes-Bug: #2002947
This commit is contained in:
Rodolfo Alonso Hernandez 2023-01-16 10:40:43 +01:00
parent 0302a8e36f
commit d179684d12

View File

@ -4,7 +4,7 @@ envlist = pep8
ignore_basepython_conflict = True
[testenv]
basepython = python3
basepython = {env:TOX_PYTHON:python3}
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
@ -14,6 +14,7 @@ setenv =
OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true}
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}