mirror of
https://gitee.com/openharmony/third_party_jinja2
synced 2024-11-27 17:30:54 +00:00
36 lines
726 B
INI
36 lines
726 B
INI
[tox]
|
|
envlist =
|
|
py{37,36,35,27,py3,py}
|
|
docs-html
|
|
coverage
|
|
skip_missing_interpreters = true
|
|
|
|
[testenv]
|
|
deps =
|
|
coverage
|
|
pytest
|
|
commands = coverage run -p -m pytest --tb=short -Werror --basetemp={envtmpdir} {posargs}
|
|
|
|
[testenv:docs-html]
|
|
deps =
|
|
Sphinx
|
|
Pallets-Sphinx-Themes
|
|
sphinx-issues
|
|
commands = sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
|
|
|
|
[testenv:coverage]
|
|
deps = coverage
|
|
skip_install = true
|
|
commands =
|
|
coverage combine
|
|
coverage html
|
|
coverage report
|
|
|
|
[testenv:coverage-ci]
|
|
deps = coverage
|
|
skip_install = true
|
|
commands =
|
|
coverage combine
|
|
# Ignoring errors because 2.7.15 and 3.5.5 on Azure can't parse async files.
|
|
coverage xml --ignore-errors
|