-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (29 loc) · 822 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
37
[tox]
envlist = lint
minversion = 2.3.1
skipsdist = True
isolated_build = True
[testenv]
basepython = python3
[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:deploy-xenial]
deps = jujuna
commands = jujuna deploy --error-timeout 120 --timeout 1800 --wait tests/bundles/xenial.yaml
[testenv:deploy-bionic]
deps = jujuna
commands = jujuna deploy --error-timeout 120 --timeout 1800 --wait tests/bundles/bionic.yaml
[testenv:test-xenial]
deps = jujuna
commands = jujuna test --timeout 1800 tests/bundles/test-xenial.yaml
[testenv:test-bionic]
deps = jujuna
commands = jujuna test --timeout 1800 tests/bundles/test-bionic.yaml
[isort]
force_single_line = True