Avoid pollution and false positives with tox.ini

- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

LP Related-Bug: #1823718
Change-Id: I7f8c99c31e3984720fb756cf36bd8dbe1aad3c55
This commit is contained in:
Camille Rodriguez 2019-08-27 14:39:54 -04:00
parent 21a0734283
commit d708e534d0
4 changed files with 10 additions and 2 deletions

View File

@ -4,7 +4,7 @@ tests:
configure:
- zaza.charm_tests.noop.setup.basic_setup
gate_bundles:
- basic
- bionic-basic
smoke_bundles:
- basic
- bionic-basic

View File

@ -1,6 +1,10 @@
[tox]
envlist = pep8
skipsdist = True
# NOTE(beisner): Avoid build/test env pollution by not enabling sitepackages.
sitepackages = False
# NOTE(beisner): Avoid false positives by not skipping missing interpreters.
skip_missing_interpreters = False
[testenv]
setenv = VIRTUAL_ENV={envdir}

View File

@ -4,6 +4,10 @@
[tox]
skipsdist = True
envlist = pep8,py37
# NOTE(beisner): Avoid build/test env pollution by not enabling sitepackages.
sitepackages = False
# NOTE(beisner): Avoid false positives by not skipping missing interpreters.
skip_missing_interpreters = False
[testenv]
setenv = VIRTUAL_ENV={envdir}