46 lines
823 B
INI
46 lines
823 B
INI
[tox]
|
|
envlist = py311,py312,py313
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
-rrequirements.txt
|
|
whitelist_externals =
|
|
cargo
|
|
rust2rpm-helper
|
|
commands =
|
|
pytest -v {posargs}
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
|
|
|
|
[testenv:coverage]
|
|
deps =
|
|
pytest
|
|
coverage
|
|
-rrequirements.txt
|
|
whitelist_externals =
|
|
cargo
|
|
rust2rpm-helper
|
|
commands =
|
|
coverage run --branch -m pytest -v {posargs}
|
|
coverage html
|
|
coverage report
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
|
|
|
|
[testenv:mypy]
|
|
deps =
|
|
mypy
|
|
pytest
|
|
types-jsonschema
|
|
types-requests
|
|
types-tqdm
|
|
-rrequirements.txt
|
|
commands =
|
|
mypy -p rust2rpm {posargs}
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = 1
|