Remove tox skipdist=True
This does not work with latest tox 4.x. Also fixes few other issues in tox.ini. Closes-Bug: #2000357 Change-Id: Ia3fe0e1de08f47ec434d04a5baae2b476132be19
This commit is contained in:
parent
d9ac151c53
commit
254ff2bd1c
9
tox.ini
9
tox.ini
|
@ -1,7 +1,6 @@
|
|||
[tox]
|
||||
minversion = 3.18.0
|
||||
envlist = docs,linters
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
|
@ -58,7 +57,6 @@ deps = bindep
|
|||
commands = bindep test
|
||||
|
||||
[testenv:linters]
|
||||
skipsdist = True
|
||||
skip_install = True
|
||||
sitepackages = False
|
||||
deps =
|
||||
|
@ -100,8 +98,9 @@ commands = {posargs}
|
|||
[testenv:pep8]
|
||||
description = "[deprecated], use linters instead."
|
||||
deps =
|
||||
commands = true
|
||||
skipsdist = True
|
||||
{[testenv:linters]deps}
|
||||
commands =
|
||||
{[testenv:linters]commands}
|
||||
skip_install = True
|
||||
sitepackages = False
|
||||
|
||||
|
@ -119,7 +118,7 @@ commands =
|
|||
cd {toxinidir}/tripleo_ansible/roles/skeleton_test; \
|
||||
molecule --base-config {toxinidir}/.config/molecule/config_podman.yml test --all; \
|
||||
else \
|
||||
echo -e '\n\nNo molecule tests have been executed\nSee https://docs.openstack.org/tripleo-ansible/latest/contributing.html#local-testing-of-new-roles\n\n'; \
|
||||
echo -e '\n\nNo molecule tests have been executed\nSee https://docs.openstack.org/tripleo-ansible/latest/contributing.html\n\n'; \
|
||||
fi"
|
||||
{[testenv:linters]commands}
|
||||
|
||||
|
|
Loading…
Reference in New Issue