mirror of
https://github.com/getpelican/pelican.git
synced 2026-05-31 04:16:56 +02:00
31 lines
598 B
INI
31 lines
598 B
INI
[tox]
|
|
envlist = py{3.11,3.12,3.13,3.14},docs
|
|
|
|
[testenv]
|
|
basepython =
|
|
py3.11: python3.11
|
|
py3.12: python3.12
|
|
py3.13: python3.13
|
|
py3.14: python3.14
|
|
passenv = *
|
|
usedevelop=True
|
|
deps =
|
|
-rrequirements/test.pip
|
|
|
|
commands =
|
|
{envpython} --version
|
|
pytest -s --cov=pelican --cov-fail-under 75 pelican
|
|
|
|
[testenv:docs]
|
|
basepython = python3.11
|
|
deps =
|
|
-rrequirements/docs.pip
|
|
changedir = docs
|
|
commands =
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
|
|
|
|
[pytest]
|
|
filterwarnings =
|
|
default::DeprecationWarning
|
|
error:.*:Warning:pelican
|
|
addopts = -n auto -r a
|