42 lines
788 B
INI
42 lines
788 B
INI
[tox]
|
|
envlist = py{39,310,311,312}-pillow{80,90,100,-latest},pypy3,check
|
|
skip_missing_interpreters = true
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.9: py39-pillow90
|
|
3.10: py310-pillow100
|
|
3.11: py311-pillow-latest
|
|
3.12: py312-pillow-latest
|
|
pypy3: pypy3
|
|
|
|
[testenv]
|
|
package = wheel
|
|
wheel_build_env = .pkg
|
|
deps =
|
|
pillow80: Pillow==8.0.1
|
|
pillow90: Pillow==9.0.1
|
|
pillow100: Pillow==10.0.1
|
|
extras =
|
|
all
|
|
tests
|
|
commands =
|
|
pip list
|
|
pytest --cov sigal --cov-report term --durations=10 tests/
|
|
|
|
[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
|