Update TOX_CONSTRAINTS_FILE for unmaintained/yoga
Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as unmaintained/yoga branch, tests will continue to use the upper-constraints list on master. Change-Id: I1144ec1292a4351880d563d17d7f8313f2d83afd
This commit is contained in:
parent
f6c1a2e889
commit
74cd653190
8
tox.ini
8
tox.ini
|
@ -14,7 +14,7 @@ setenv =
|
|||
VIRTUAL_ENV={envdir}
|
||||
DISCOVER_DIRECTORY=sahara_plugin_spark/tests/unit
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run {posargs}
|
||||
|
@ -30,7 +30,7 @@ commands = oslo_debug_helper -t sahara_plugin_spark/tests/unit {posargs}
|
|||
|
||||
[testenv:pep8]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
|
@ -43,7 +43,7 @@ commands = {posargs}
|
|||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf doc/build/html
|
||||
|
@ -63,7 +63,7 @@ whitelist_externals =
|
|||
|
||||
[testenv:releasenotes]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf releasenotes/build releasenotes/html
|
||||
|
|
Loading…
Reference in New Issue