Browse Source

Merge "fix tox python3 overrides"

changes/09/608509/1
Zuul 4 years ago committed by Gerrit Code Review
parent
commit
ddf8d09aa8
  1. 5
      tox.ini

5
tox.ini

@ -11,6 +11,7 @@ deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = bash
[testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
@ -19,6 +20,7 @@ deps = bindep
commands = bindep test
[testenv:pep8]
basepython = python3
commands =
# Run hacking/flake8 check for all python files
bash -c "git ls-files | grep -v releasenotes | xargs grep --binary-files=without-match \
@ -38,6 +40,7 @@ commands =
bash ci-scripts/ansible-lint.sh
[testenv:linters]
basepython = python3
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/ansible-requirements.txt
@ -46,10 +49,12 @@ commands =
{[testenv:ansible-lint]commands}
[testenv:releasenotes]
basepython = python3
whitelist_externals = bash
commands = bash -c ci-scripts/releasenotes_tox.sh
[testenv:venv]
basepython = python3
commands = {posargs}
[flake8]

Loading…
Cancel
Save