45 lines
937 B
INI
45 lines
937 B
INI
[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}
|
|
PYTHONHASHSEED=0
|
|
whitelist_externals = juju
|
|
passenv = HOME TERM CS_API_* OS_*
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
install_command =
|
|
pip install {opts} {packages}
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
deps=charm-tools
|
|
commands = charm-proof
|
|
|
|
[testenv:func-noop]
|
|
basepython = python3
|
|
commands =
|
|
true
|
|
|
|
[testenv:func]
|
|
basepython = python3
|
|
commands =
|
|
functest-run-suite --keep-model
|
|
|
|
[testenv:func-smoke]
|
|
basepython = python3
|
|
commands =
|
|
functest-run-suite --keep-model --smoke
|
|
|
|
[testenv:func-target]
|
|
basepython = python3
|
|
commands =
|
|
functest-run-suite --keep-model --bundle {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|