-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (24 loc) · 585 Bytes
/
tox.ini
File metadata and controls
27 lines (24 loc) · 585 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
[tox]
requires = tox>=4.28
envlist = py314, py313, py312, py311, py310
isolated_build = true
[gh-actions]
python =
3.14: py314, coverage
3.13: py313
3.12: py312
3.11: py311
3.10: py310
[testenv]
setenv = PYTHONPATH = {toxinidir}
deps = -r{toxinidir}/test-requirements.txt
commands = python -m unittest discover
[testenv:coverage]
usedevelop = true
basepython = python3.14
deps = -r{toxinidir}/test-requirements.txt
commands =
coverage run -m unittest discover
coverage report
coverage xml
genbadge coverage -i coverage.xml -o coverage-badge.svg