-
Notifications
You must be signed in to change notification settings - Fork 14
/
tox.ini
113 lines (97 loc) · 2.46 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[tox]
envlist = pep8
skipsdist = True
minversion = 3.2.0
[testenv]
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
TEST_JUJU3=1
allowlist_externals =
juju
bash
passenv =
HOME
TERM
CS_*
OS_*
TEST_*
deps =
-r{toxinidir}/test-requirements.txt
install_command =
pip install {opts} {packages}
[testenv:lint]
commands = bash -ex ./scripts/validate_bundles.sh
[testenv:pep8]
basepython = python2.7
deps=charm-tools
commands = charm-proof
[testenv:func-noop]
basepython = python3
changedir = tests/distro-regression
commands =
true
[testenv:func]
basepython = python3
changedir = tests/distro-regression
commands =
functest-run-suite --keep-model
[testenv:func-smoke]
basepython = python3
changedir = tests/distro-regression
commands =
functest-run-suite --keep-model --smoke
[testenv:func-target]
basepython = python3
changedir = tests/distro-regression
setenv = OS_TEST_TIMEOUT=1200
commands =
functest-run-suite --keep-model --bundle {posargs}
[testenv:magpie-focal]
basepython = python3
changedir = tests/magpie
commands =
functest-run-suite --keep-model --bundle magpie-focal
[testenv:kitchen-sink-focal-ussuri]
basepython = python3
changedir = tests/kitchen-sink
setenv = TEST_DEPLOY_TIMEOUT = 10000
commands =
functest-run-suite --keep-model --bundle kitchen-sink-focal-ussuri
[testenv:vrrp-focal-ussuri]
basepython = python3
changedir = tests/vrrp
setenv = TEST_DEPLOY_TIMEOUT = 10000
commands =
functest-run-suite --keep-model --bundle vrrp-focal-ussuri
[testenv:charm-upgrade-focal-ussuri]
basepython = python3
changedir = tests/charm-upgrade
setenv = TEST_DEPLOY_TIMEOUT = 10000
commands =
functest-run-suite --keep-model --bundle kitchen-sink-focal-ussuri-stable
[testenv:charm-upgrade]
basepython = python3
changedir = tests/charm-upgrade
setenv = TEST_DEPLOY_TIMEOUT = 10000
commands =
functest-run-suite --keep-model --bundle {posargs}
[testenv:openstack-upgrade]
basepython = python3
changedir = tests/openstack-upgrade
setenv = TEST_DEPLOY_TIMEOUT = 10000
commands =
functest-run-suite --keep-model --bundle {posargs}
[testenv:octavia-upgrade]
basepython = python3
changedir = tests/octavia-upgrade
setenv = TEST_DEPLOY_TIMEOUT = 10000
commands =
functest-run-suite --keep-model --bundle {posargs}
[testenv:series-upgrade]
basepython = python3
changedir = tests/series-upgrade
setenv = TEST_DEPLOY_TIMEOUT = 10000
commands =
functest-run-suite --keep-model --bundle {posargs}
[testenv:venv]
commands = {posargs}