-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
49 lines (43 loc) · 1.78 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
[tox]
envlist =
flake8
py27{,-ansible19,-ansible24,-ansible25,-ansible26,-ansible27,-ansible28,-ansible29,-ansible210},
py37{,-ansible25,-ansible26,-ansible27,-ansible28,-ansible29,-ansible210},
py38{,-ansible25,-ansible26,-ansible27,-ansible28,-ansible29,-ansible210},
py39{,-ansible25,-ansible26,-ansible27,-ansible28,-ansible29,-ansible210}
py310{,-ansiblecore211,-ansiblecore212,-ansiblecore213,-ansiblecore214,-ansiblecore215,-ansiblecore216,-ansiblecore217}
py311{,-ansiblecore211,-ansiblecore212,-ansiblecore213,-ansiblecore214,-ansiblecore215,-ansiblecore216,-ansiblecore217}
py312{,-ansiblecore213,-ansiblecore214,-ansiblecore215,-ansiblecore216,-ansiblecore217}
requires = virtualenv<20.22.0
[testenv]
deps =
ansible19: ansible>=1.9,<2dev
ansible24: ansible>=2.4,<2.5dev
ansible25: ansible>=2.5,<2.6dev
ansible26: ansible>=2.6,<2.7dev
ansible27: ansible>=2.7,<2.8dev
ansible28: ansible>=2.8,<2.9dev
ansible29: ansible>=2.9,<2.10dev
ansible210: ansible>=2.9,<2.11dev
ansiblecore211: ansible-core>=2.11,<2.12dev
ansiblecore212: ansible-core>=2.12,<2.13dev
ansiblecore213: ansible-core>=2.13,<2.14dev
ansiblecore214: ansible-core>=2.14,<2.15dev
ansiblecore215: ansible-core>=2.15,<2.16dev
ansiblecore216: ansible-core>=2.16,<2.17dev
ansiblecore217: ansible-core>=2.17,<2.18dev
coverage
mock
pytest
pytest-cov
setuptools<68;python_version<="3.7"
changedir = {envdir}
commands =
{envbindir}/py.test --cov {envsitepackagesdir}/ploy_ansible/ --cov-report html:{toxinidir}/htmlcov_{envname} {posargs} {envsitepackagesdir}/ploy_ansible/
[testenv:flake8]
commands = flake8 --config {toxinidir}/.flake8 {toxinidir}
deps = flake8
skip_install = true
[pytest]
addopts = --tb=native
log_level = NOTSET