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:
parent
21a0734283
commit
d708e534d0
@ -4,7 +4,7 @@ tests:
|
||||
configure:
|
||||
- zaza.charm_tests.noop.setup.basic_setup
|
||||
gate_bundles:
|
||||
- basic
|
||||
- bionic-basic
|
||||
smoke_bundles:
|
||||
- basic
|
||||
- bionic-basic
|
||||
|
||||
|
@ -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}
|
||||
|
4
tox.ini
4
tox.ini
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user