-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
28 lines (25 loc) · 886 Bytes
/
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
[tox]
envlist=tests
skip_install = true
skipsdist = true
[testenv]
deps=-rtest-requirements.txt
commands=pytest -v --cov plugins --cov-report term --cov-report html --cov-fail-under=100 {posargs}
[testenv:build]
# Builds a collection tarball.
# Important: the output is not guaranted to be pristine!
# This command seems to essentially tar up the entire directory,
# including random garbage you've got locally, if any.
# When building for a release, this should be invoked from a CI
# system with a clean state.
commands=ansible-galaxy collection build --force -v
[testenv:pip-compile]
# Recompile all requirements .txt files using pip-compile.
# Don't edit me - I'm deployed from a template.
deps = pip-tools
basepython = python3.9
skip_install = true
skipsdist = true
commands =
pip-compile -U --generate-hashes test-requirements.in -o test-requirements.txt
# end pip-compile