|
|
|
@ -10,7 +10,7 @@ setenv =
|
|
|
|
|
VIRTUAL_ENV={envdir} |
|
|
|
|
DISCOVER_DIRECTORY=sahara_plugin_vanilla/tests/unit |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/test-requirements.txt |
|
|
|
|
commands = stestr run {posargs} |
|
|
|
@ -27,7 +27,7 @@ commands = oslo_debug_helper -t sahara_plugin_vanilla/tests/unit {posargs}
|
|
|
|
|
[testenv:pep8] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/test-requirements.txt |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
@ -44,7 +44,7 @@ commands = {posargs}
|
|
|
|
|
[testenv:docs] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
|
commands = |
|
|
|
|
rm -rf doc/html doc/build |
|
|
|
@ -55,7 +55,7 @@ whitelist_externals =
|
|
|
|
|
[testenv:releasenotes] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
|
commands = |
|
|
|
|
rm -rf releasenotes/build releasenotes/html |
|
|
|
|