Fix issues related to tox4
Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html Change-Id: Iec7659dbf64847d86def2a863cda8b5c49c65c3b
This commit is contained in:
parent
349603af2e
commit
b72372be2d
8
tox.ini
8
tox.ini
@ -1,17 +1,15 @@
|
||||
[tox]
|
||||
minversion = 3.1
|
||||
envlist = py3,pep8
|
||||
ignore_basepython_conflict = true
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
# Functional tests with Eventlet involve monkeypatching, so force them to be
|
||||
# run in a separate process
|
||||
whitelist_externals = env
|
||||
allowlist_externals = env
|
||||
commands =
|
||||
stestr run --slowest (?!tests.test_functional_eventlet)tests {posargs}
|
||||
env TEST_EVENTLET=1 stestr run --slowest tests.test_functional_eventlet
|
||||
@ -40,7 +38,7 @@ commands =
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
whitelist_externals = rm
|
||||
allowlist_externals = rm
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
@ -63,7 +61,7 @@ commands = python benchmark/benchmark.py
|
||||
commands = python3 benchmark/benchmark.py
|
||||
|
||||
[testenv:releasenotes]
|
||||
whitelist_externals = rm
|
||||
allowlist_externals = rm
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user