2013-09-29 00:39:50 +02:00
|
|
|
[tox]
|
2023-11-08 23:30:39 +01:00
|
|
|
envlist = py{39,310,311,312}-pillow{80,90,100,-latest},pypy3,check
|
2020-10-10 16:23:04 -03:00
|
|
|
skip_missing_interpreters = 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 =
|
2022-08-02 17:00:31 +02:00
|
|
|
3.9: py39-pillow90
|
2023-09-29 08:23:41 +02:00
|
|
|
3.10: py310-pillow100
|
2023-11-08 23:30:39 +01:00
|
|
|
3.11: py311-pillow-latest
|
|
|
|
|
3.12: py312-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]
|
2023-07-07 12:41:36 +02:00
|
|
|
package = wheel
|
|
|
|
|
wheel_build_env = .pkg
|
2020-10-04 19:25:50 -03:00
|
|
|
deps =
|
2022-08-02 17:00:31 +02:00
|
|
|
pillow80: Pillow==8.0.1
|
|
|
|
|
pillow90: Pillow==9.0.1
|
2023-09-29 08:23:41 +02:00
|
|
|
pillow100: Pillow==10.0.1
|
2020-03-15 22:09:02 -03:00
|
|
|
extras =
|
|
|
|
|
all
|
|
|
|
|
tests
|
2023-07-15 16:27:35 +02:00
|
|
|
commands =
|
|
|
|
|
pip list
|
|
|
|
|
pytest --cov sigal --cov-report term --durations=10 tests/
|
2014-04-08 00:13:51 +02:00
|
|
|
|
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
|