Files
sigal/tox.ini
2021-10-15 09:30:21 +02:00

46 lines
914 B
INI

[tox]
envlist = py{37,38,39,310}-pillow{71,-latest},pypy3,check
skip_missing_interpreters = true
isolated_build = true
[gh-actions]
python =
3.8: py38-pillow71, check
3.9: py39-pillow80
3.10: py310-pillow-latest
pypy3: pypy3
[testenv]
deps =
pillow71: Pillow==7.1.0
pillow80: Pillow==8.0.0
extras =
all
tests
commands = pytest --cov sigal --cov-report term tests/
[testenv:check]
skip_install = true
deps =
check-manifest
collective.checkdocs
commands =
python setup.py check --restructuredtext
check-manifest -v --ignore sigal/version.py,*.yml,*.yaml,.git-blame-ignore-revs {toxinidir}
[testenv:doc]
whitelist_externals = make
extras = docs
usedevelop = true
commands =
make -C docs html
[testenv:demo]
usedevelop = true
deps =
feedgenerator
cryptography
commands =
sigal build -c tests/sample/sigal.conf.py
sigal serve tests/sample/_build