Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Remove tox skipdist=True"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Dec 23, 2022
2 parents 342cdc6 + 254ff2b commit 67c0fab
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tox.ini
@@ -1,7 +1,6 @@
[tox]
minversion = 3.18.0
envlist = docs,linters
skipsdist = True

[testenv]
usedevelop = True
Expand Down Expand Up @@ -58,13 +57,12 @@ deps = bindep
commands = bindep test

[testenv:linters]
skipsdist = True
skip_install = True
sitepackages = False
deps =
pre-commit
virtualenv
-r {toxinidir}/ansible-requirements.txt
-r {toxinidir}/ansible-requirements.txt
commands =
bash -c "ANSIBLE_ROLES_PATH='{toxinidir}/tripleo_ansible/roles.galaxy' \
ansible-galaxy install --timeout 300 -fr {toxinidir}/tripleo_ansible/requirements.yml"
Expand Down Expand Up @@ -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

Expand All @@ -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}

Expand Down

0 comments on commit 67c0fab

Please sign in to comment.