forked from ansible-collections/kubernetes.core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
56 lines (42 loc) · 1.05 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
[tox]
minversion = 1.4.2
skipsdist = True
[testenv:molecule]
install_command = pip install {opts} {packages}
deps = ansible
kubernetes
molecule<3.3.0
yamllint
flake8
passenv =
HOME
commands=
{posargs}
[testenv:integration]
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
https://github.com/ansible/ansible/archive/devel.tar.gz
passenv =
HOME
commands=
ansible-test integration --docker -v --color --retry-on-error --diff --coverage --continue-on-error --python {posargs}
[testenv:add_docs]
deps = git+https://github.com/ansible-network/collection_prep
commands = collection_prep_add_docs -p .
[testenv:black]
deps =
black==19.10b0
commands =
black -v --check {toxinidir}/plugins {toxinidir}/tests
[testenv:linters]
deps =
yamllint
flake8
black==19.10b0
commands =
black -v --check {toxinidir}/plugins {toxinidir}/tests
yamllint -s {toxinidir}
flake8 {toxinidir}
[flake8]
exclude = .git,.tox,tests/output