forked from CanonicalLtd/prometheus-node-exporter-charm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (29 loc) · 711 Bytes
/
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
[tox]
envlist = lint
minversion = 2.3.1
skipsdist = True
isolated_build = True
[testenv]
basepython = python3
passenv =
TIMEOUT
ERROR_TIMEOUT
[testenv:lint]
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:build]
allowlist_externals = charmcraft
commands =
charmcraft clean
charmcraft pack --verbose
[testenv:test-xenial]
deps = jujuna
commands = jujuna deploy --wait --timeout 1200 tests/bundles/xenial.yaml
[testenv:test-bionic]
deps = jujuna
commands = jujuna deploy --wait --timeout 1200 tests/bundles/bionic.yaml
[testenv:test-focal]
deps = jujuna
commands = jujuna deploy --wait --timeout 1200 tests/bundles/focal.yaml
[isort]
multi_line_output = 3