-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (27 loc) · 756 Bytes
/
tox.ini
File metadata and controls
31 lines (27 loc) · 756 Bytes
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
[tox]
minversion = 1.4.2
skipsdist = True
[testenv]
deps = -r{toxinidir}/test-requirements.txt
install_command = pip install {opts} {packages}
setenv =
LC_ALL=C.UTF-8
basepython = python3
[testenv:ansible-lint]
description=run ansible-lint
deps =
ansible-lint>=6.7.0
commands = ansible-lint --profile production --format pep8 --nocolor --strict --write {toxinidir}/roles {toxinidir}/tests
[testenv:lint]
description = Enforce quality standards under {basepython}
skip_install = true
deps =
pre-commit
set_env =
PIP_CONSTRAINT = /dev/null
commands =
pre-commit run --show-diff-on-failure --all-files
[testenv:py39-sanity]
description=run ansible-test sanity
deps = ansible-core
commands = ansible-test sanity --requirements --python 3.9