-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (38 loc) · 1.07 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
[tox]
envlist = lint
minversion = 2.3.1
skipsdist = True
isolated_build = True
[testenv]
basepython = python3
allowlist_externals =
juju
charmcraft
[testenv:lint]
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:build]
allowlist_externals = charmcraft
commands =
charmcraft pack --verbose
[testenv:test-xenial]
deps = jujuna
commands = jujuna deploy --timeout 1200 --wait ./tests/bundles/xenial.yaml
[testenv:test-bionic]
deps = jujuna
commands = jujuna deploy --timeout 1200 --wait ./tests/bundles/bionic.yaml
[testenv:test-focal]
deps = jujuna
commands = jujuna deploy --timeout 1200 --wait ./tests/bundles/focal.yaml
[testenv:test-jammy]
deps = jujuna
# commands = jujuna deploy --timeout 1200 --wait ./tests/bundles/jammy.yaml
commands = juju deploy "{toxinidir}/tests/bundles/jammy.yaml"
[isort]
force_single_line = True
[flake8]
exclude = .git,.tox,__pycache__,build,dist,*.egg_info,.env,venv,get-pip.py
ignore = D203, D100, D103, D202, D205, D400, D413, W503, E741
import-order-style = google
max-line-length = 120
statistics = True