2013-09-29 00:39:50 +02:00
|
|
|
[tox]
|
2021-04-19 00:44:30 +02:00
|
|
|
envlist = py{37,38,39}-pillow{71,-latest},pypy3,check
|
2020-10-10 16:23:04 -03:00
|
|
|
skip_missing_interpreters = true
|
|
|
|
|
isolated_build = true
|
2013-09-29 00:39:50 +02:00
|
|
|
|
2020-10-04 19:25:50 -03:00
|
|
|
[gh-actions]
|
2018-09-16 22:58:02 +02:00
|
|
|
python =
|
2020-10-04 19:41:44 -03:00
|
|
|
3.7: py37-pillow71
|
2020-10-04 21:52:18 -03:00
|
|
|
3.8: py38-pillow-latest, check
|
2020-10-09 10:16:50 -03:00
|
|
|
3.9: py39-pillow-latest
|
2020-10-04 19:25:50 -03:00
|
|
|
pypy3: pypy3
|
2018-09-16 22:58:02 +02:00
|
|
|
|
2013-09-29 00:39:50 +02:00
|
|
|
[testenv]
|
2020-10-04 19:25:50 -03:00
|
|
|
deps =
|
2020-11-02 18:05:11 -03:00
|
|
|
pillow70: Pillow==7.0.0
|
2020-11-02 18:03:29 -03:00
|
|
|
pillow71: Pillow==7.1.0
|
2020-03-15 22:09:02 -03:00
|
|
|
extras =
|
|
|
|
|
all
|
|
|
|
|
tests
|
2020-10-04 19:32:21 -03:00
|
|
|
commands = pytest --cov sigal --cov-report term tests/
|
2014-04-08 00:13:51 +02:00
|
|
|
|
2015-04-22 23:25:48 +02:00
|
|
|
[testenv:check]
|
2020-10-10 16:23:04 -03:00
|
|
|
skip_install = true
|
2014-04-08 00:13:51 +02:00
|
|
|
deps =
|
2015-04-22 23:25:48 +02:00
|
|
|
check-manifest
|
|
|
|
|
collective.checkdocs
|
|
|
|
|
commands =
|
2020-10-10 16:23:04 -03:00
|
|
|
python setup.py check --restructuredtext
|
2021-07-07 00:25:57 +02:00
|
|
|
check-manifest -v --ignore sigal/version.py,*.yml,*.yaml,.git-blame-ignore-revs {toxinidir}
|
2018-09-17 00:23:54 +02:00
|
|
|
|
|
|
|
|
[testenv:doc]
|
|
|
|
|
whitelist_externals = make
|
2020-03-15 22:09:02 -03:00
|
|
|
extras = docs
|
2018-09-17 00:23:54 +02:00
|
|
|
usedevelop = true
|
|
|
|
|
commands =
|
|
|
|
|
make -C docs html
|
2019-01-26 23:05:51 +01:00
|
|
|
|
|
|
|
|
[testenv:demo]
|
|
|
|
|
usedevelop = true
|
|
|
|
|
deps =
|
|
|
|
|
feedgenerator
|
2020-03-31 00:49:40 +08:00
|
|
|
cryptography
|
2019-01-26 23:05:51 +01:00
|
|
|
commands =
|
|
|
|
|
sigal build -c tests/sample/sigal.conf.py
|
|
|
|
|
sigal serve tests/sample/_build
|