2011-07-02 15:54:24 -05:00
|
|
|
[tox]
|
2026-03-31 08:48:50 +02:00
|
|
|
envlist = py{3.11,3.12,3.13,3.14},docs
|
2011-07-02 15:54:24 -05:00
|
|
|
|
|
|
|
|
[testenv]
|
2015-04-11 15:02:53 +02:00
|
|
|
basepython =
|
2022-10-26 23:11:41 +03:00
|
|
|
py3.11: python3.11
|
2023-10-03 16:59:57 +02:00
|
|
|
py3.12: python3.12
|
2024-12-21 15:45:35 +02:00
|
|
|
py3.13: python3.13
|
2025-10-17 09:53:59 +02:00
|
|
|
py3.14: python3.14
|
2015-05-13 21:08:39 +02:00
|
|
|
passenv = *
|
2015-04-11 15:02:53 +02:00
|
|
|
usedevelop=True
|
2013-01-11 02:57:43 +01:00
|
|
|
deps =
|
2017-01-23 23:45:08 +01:00
|
|
|
-rrequirements/test.pip
|
2015-04-11 15:02:53 +02:00
|
|
|
|
|
|
|
|
commands =
|
|
|
|
|
{envpython} --version
|
2024-06-25 10:54:24 +02:00
|
|
|
pytest -s --cov=pelican --cov-fail-under 75 pelican
|
2015-04-11 15:02:53 +02:00
|
|
|
|
|
|
|
|
[testenv:docs]
|
2023-11-28 21:38:26 +01:00
|
|
|
basepython = python3.11
|
2015-04-11 15:02:53 +02:00
|
|
|
deps =
|
2017-01-23 23:45:08 +01:00
|
|
|
-rrequirements/docs.pip
|
2015-04-11 15:02:53 +02:00
|
|
|
changedir = docs
|
|
|
|
|
commands =
|
2015-06-19 19:20:48 +02:00
|
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
|
2015-06-08 12:50:35 +02:00
|
|
|
|
2019-11-10 20:08:47 -08:00
|
|
|
[pytest]
|
|
|
|
|
filterwarnings =
|
|
|
|
|
default::DeprecationWarning
|
|
|
|
|
error:.*:Warning:pelican
|
2020-08-16 07:23:13 +02:00
|
|
|
addopts = -n auto -r a
|