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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
py38,
py39,
py310,
py311,
py312,
py313,
py314,
doc,
[testenv]
commands =
{envbindir}/pytest {posargs}
deps =
pytest
lxml
[testenv:doc]
changedir = doc
setenv = APIDOC=True
deps =
sphinx
pytest
sphinx_rtd_theme
commands =
sphinx-build -q -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:cov]
passenv =
COVERALLS_REPO_TOKEN
GIT_*
deps =
{[testenv]deps}
pytest-cov
coveralls
commands =
pytest -qq --cov=et_xmlfile --cov-report=term-missing --cov-report=xml
coveralls
|