jekyll-to-hugo/tox.ini
2023-06-04 19:27:29 +03:00

22 lines
No EOL
549 B
INI
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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