forked from bluebanquise/community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
62 lines (59 loc) · 1.44 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
[tox]
envlist = py38-ansible{29,212,5}
skipsdist = True
requires =
virtualenv
pip
# do not enable skip missing to avoid CI false positives
skip_missing_interpreters = True
isolated_build = True
[testenv]
changedir = {env:PWD}
passenv =
MOLECULE_DISTRO
INSTANCE_DISTRO
TERM
PY_COLORS
ANSIBLE_FORCE_COLOR
setenv =
ANSIBLE_CONFIG={toxinidir}/dev/null
ANSIBLE_DISPLAY_FAILED_STDERR=1
ANSIBLE_VERBOSITY=1
# enabling pipelineing as it was known to break podman module in order
# versions, added here as a safety measure to prevent regression.
ANSIBLE_PIPELINING=1
PYTHONDONTWRITEBYTECODE=1
PYTHONUNBUFFERED=1
# new resolve a must or test extras will not install right
MOLECULE_NO_LOG=0
deps =
ansible29: ansible>=2.9.13,<2.10
ansible212: ansible-core>=2.12.4,<2.13.0
ansible5: ansible>=5.0
ansible-lint
flake8
jmespath
netaddr
py38: molecule[docker]
commands =
python3 --version
ansible-galaxy collection install -r {toxinidir}/requirements.yml
pip check
molecule test
whitelist_externals =
ansible-galaxy
find
rm
sh
[testenv: py38-ansible29]
commands =
python3 --version
ansible-galaxy collection install -r {toxinidir}/requirements_29.yml
pip check
molecule test
[testenv: py38-ansible212]
commands =
python3 --version
ansible-galaxy collection install -r {toxinidir}/requirements_212.yml
pip check
molecule test