jekyll-to-hugo/tox.ini

22 lines
549 B
INI
Raw Permalink Normal View History

2023-06-04 16:27:29 +00:00
# content of: tox.ini , put in same dir as setup.py
[tox]
skip_missing_interpreters = True
envlist = py310,py311
[testenv]
# install pytest in the virtualenv where commands will be executed
deps =
pytest
pytest-cov
commands =
# NOTE: you can run any command line tool here not just tests
pytest -p no:warnings
[testenv:ci]
commands =
pytest —junitxml=results.xml \
—cov=your-module—cov-config=tox.ini —cov-report=xml
coverage2clover -i coverage.xml -o clover.xml
deps =
{[testenv]deps}
coverage2clover