Add validations-libs as an extra requirement

Change-Id: I5bc1ce84a2963a0dd0e3d9e13008544c5cfe3e8f
This commit is contained in:
Federico Ressi 2020-06-18 14:49:04 +02:00
parent f3a63b2d7e
commit 3e2fc6c388
3 changed files with 6 additions and 1 deletions

1
extra-requirements.txt Normal file
View File

@ -0,0 +1 @@
validations-libs>=1.0

View File

@ -10,9 +10,10 @@ minversion = 3.8.0
usedevelop = True
deps =
-c{env:TOX_CONSTRAINTS_FILE}
{env:TOX_CONSTRAINTS}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
{env:TOX_EXTRA_REQUIREMENTS}
passenv =
JENKINS_*
PS1
@ -30,7 +31,9 @@ setenv =
TOBIKO_PREVENT_CREATE = {env:TOBIKO_PREVENT_CREATE:false}
TOX_REPORT_NAME = {env:TOX_REPORT_NAME:test_results}
TOX_REPORT_DIR = {env:TOX_REPORT_DIR:{toxinidir}/report/{envname}}
TOX_CONSTRAINTS = {env:TOX_CONSTRAINTS:-c{env:TOX_CONSTRAINTS_FILE}}
TOX_CONSTRAINTS_FILE = {env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
TOX_EXTRA_REQUIREMENTS = {env:TOX_EXTRA_REQUIREMENTS:-r{toxinidir}/extra-requirements.txt}
VIRTUAL_ENV = {envdir}
commands =
{envpython} {toxinidir}/tools/run_tests.py {env:RUN_TESTS_EXTRA_ARGS} {posargs}

View File

@ -13,6 +13,7 @@
- openstack/heat
- openstack/neutron
- openstack/requirements
- openstack/validations-libs
- x/tobiko
timeout: 7200
vars: