rust2rpm/tox.ini

44 lines
685 B
INI
Raw Normal View History

[tox]
2023-10-04 09:32:35 +00:00
envlist = py311,py312
skipsdist = True
[testenv]
deps =
pytest
-rrequirements.txt
whitelist_externals =
cargo
rust2rpm-helper
commands =
pytest -v {posargs}
setenv =
PYTHONPATH = {toxinidir}
[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}
[testenv:mypy]
deps =
mypy
pytest
types-jsonschema
types-requests
types-tqdm
-rrequirements.txt
commands =
mypy -p rust2rpm {posargs}
setenv =
PYTHONPATH = {toxinidir}