mirror of https://github.com/saimn/sigal.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
914 B
45 lines
914 B
[tox] |
|
envlist = py{38,39,310}-pillow{71,80,-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
|
|
|