-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
52 lines (46 loc) · 832 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tox]
envlist =
format
clean
py39
py310
py311
py312
py313
coverage_report
[testenv:format]
description = invoke black and isort on the current folder
deps =
isort==5.11.4
black==22.10.0
skip_install = true
commands =
isort --gitignore .
black .
[testenv:clean]
allowlist_externals = rm
commands =
rm -f .coverage
[testenv]
description = install pytest in a virtual environment and invoke it on the tests folder
deps =
pytest
pytest-asyncio
pytest-docker
coverage[toml]
async_timeout
commands =
coverage run --append -m pytest tests {posargs}
[testenv:coverage_report]
deps =
coverage[toml]
commands =
coverage combine
coverage html
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313