Merge "CI: constrain deps for tests"
This commit is contained in:
commit
6af54cf481
@ -1,6 +1,7 @@
|
|||||||
hacking>=3.2.0,<6.2.0 # Apache-2.0
|
hacking>=3.2.0,<6.2.0 # Apache-2.0
|
||||||
|
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
|
python-keystoneclient>=0.7.0
|
||||||
keystoneauth1>=3.4.0 # Apache-2.0
|
keystoneauth1>=3.4.0 # Apache-2.0
|
||||||
stestr>=2.0.0,!=3.0.0 # Apache-2.0
|
stestr>=2.0.0,!=3.0.0 # Apache-2.0
|
||||||
openstacksdk>=0.11.0 # Apache-2.0
|
openstacksdk>=0.11.0 # Apache-2.0
|
||||||
|
9
tox.ini
9
tox.ini
@ -1,18 +1,18 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py3,pep8
|
envlist = py3,pep8
|
||||||
minversion = 3.18.0
|
minversion = 3.18.0
|
||||||
skipsdist = True
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
skipsdist = True
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
list_dependencies_command = python -m pip freeze
|
list_dependencies_command = python -m pip freeze
|
||||||
setenv =
|
setenv =
|
||||||
LANG=en_US.utf-8
|
LANG=en_US.utf-8
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
|
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
.[keystone]
|
|
||||||
commands = sh -c '(find . -not \( -type d -name .?\* -prune \) \
|
commands = sh -c '(find . -not \( -type d -name .?\* -prune \) \
|
||||||
\( -type d -name "__pycache__" -or -type f -name "*.py[co]" \) \
|
\( -type d -name "__pycache__" -or -type f -name "*.py[co]" \) \
|
||||||
-print0) | xargs -0 rm -rf'
|
-print0) | xargs -0 rm -rf'
|
||||||
@ -88,8 +88,7 @@ commands = bindep test
|
|||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
usedevelop = False
|
usedevelop = False
|
||||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
deps = {[testenv:docs]deps}
|
||||||
-r{toxinidir}/doc/requirements.txt
|
|
||||||
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
|
Loading…
Reference in New Issue
Block a user