-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
35 lines (32 loc) · 780 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
29
30
31
32
33
34
35
[tox]
min_version = 4
env_list = py{38,39,310,311,312}
[testenv]
package = wheel
wheel_build_env = {package_env}
deps =
-r requirements/test.txt
set_env =
coverage: __COVERAGE_POSARGS=--cov --cov-report=xml --cov-report=html
commands =
pytest {env:__COVERAGE_POSARGS:} {posargs}
[testenv:create-dist]
description = create the pypi distribution
# See packaging info at https://pypi.org/help/#publishing.
deps =
twine
build
skip_install = true
allowlist_externals = rm
commands =
rm -rf dist build
python -m build
twine check dist/*
[testenv:update-deps-test]
description = update the test envs dependencies
base_python = python3.8
set_env =
deps = pip-tools
skip_install = true
commands =
pip-compile -U --extra test -o requirements/test.txt