-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtox.ini.tmpl
53 lines (48 loc) · 1020 Bytes
/
tox.ini.tmpl
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
[tox]
envlist =
py27-ansible-{$py27_releases}
py35-ansible-{$py35_releases}
py36-ansible-{$py36_releases}
py37-ansible-{$py37_releases}
py38-ansible-{$py38_releases}
py39-ansible-{$py39_releases}
py310-ansible-{$py310_releases}
py311-ansible-{$py311_releases}
py312-ansible-{$py312_releases}
lint
[testenv]
basepython =
py27: python2.7
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
deps =
hypothesis~=4.0
mock>=2,<3
$ansible_dep_specs
$jinja_dep_specs
commands =
python --version
python -m unittest discover -s tests
/bin/bash -c 'ansible-playbook -v {toxinidir}/examples/*_playbook.yml'
# We run out of diskspace on Github Actions runners
rm -rf {envdir}
allowlist_externals =
/bin/bash
rm
[testenv:lint]
skipdist = true
basepython = python
commands = pylint ansible_merge_vars.py tests
deps =
hypothesis
mock
ansible
pylint==3.0.3
allowlist_externals =
pylint