Add requirements.txt to tox environment

This was spotted in [0] backport, upper constraints are not applied
correctly without it (and this aligns with the typical deps in other
projects)

[0] https://review.opendev.org/c/openstack/os-ken/+/823758

Change-Id: If2bbc92db09f3240ef9848f0db26ebcb709a2d3c
This commit is contained in:
Bernard Cafarelli 2022-01-10 11:20:15 +01:00
parent 7911ff1820
commit a72de9a81d
No known key found for this signature in database
GPG Key ID: D148244A3C2462BD

View File

@ -15,6 +15,7 @@ setenv =
OS_TEST_TIMEOUT=60
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
# TODO(hongbin): this is the way Ryu runs unit tests and we inherit
# this approach as a start. In the future, we should migrate to stestr