2011-07-02 15:54:24 -05:00
|
|
|
[tox]
|
2023-10-30 19:35:59 +01:00
|
|
|
envlist = py{3.8,3.9,3.10,3.11.3.12},docs
|
2011-07-02 15:54:24 -05:00
|
|
|
|
|
|
|
|
[testenv]
|
2015-04-11 15:02:53 +02:00
|
|
|
basepython =
|
2020-04-26 15:01:56 +03:00
|
|
|
py3.8: python3.8
|
2020-10-12 18:38:46 +03:00
|
|
|
py3.9: python3.9
|
2021-10-06 09:51:00 +02:00
|
|
|
py3.10: python3.10
|
2022-10-26 23:11:41 +03:00
|
|
|
py3.11: python3.11
|
2023-10-03 16:59:57 +02:00
|
|
|
py3.12: python3.12
|
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
|
2020-04-26 00:59:54 +03:00
|
|
|
pytest -s --cov=pelican pelican
|
2015-04-11 15:02:53 +02:00
|
|
|
|
|
|
|
|
[testenv:docs]
|
2022-10-20 02:59:04 +03:00
|
|
|
basepython = python3.9
|
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
|