Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
543 B
INI
Raw Permalink Normal View History

2014-05-27 22:24:57 -07:00
[tox]
2023-08-31 13:07:05 -04:00
envlist = py38, py39, py310, py311
2014-05-27 22:24:57 -07:00
2021-12-18 15:10:09 -05:00
[gh-actions]
python =
2021-12-18 15:14:13 -05:00
3.8: py38
3.9: py39
3.10: py310
2023-08-29 14:49:45 +02:00
3.11: py311
2024-04-16 16:31:58 -04:00
3.12: py312
2021-12-18 15:10:09 -05:00
2014-05-27 22:24:57 -07:00
[testenv]
2016-04-07 17:41:54 -04:00
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pydiscourse
2023-08-31 13:58:03 -04:00
commands =
pytest {posargs} --cov=pydiscourse
2023-09-01 10:21:48 -04:00
coverage report -m --include='**/pydiscourse/client.py' --fail-under=46
2023-08-31 13:58:03 -04:00
coverage report -m --include='**/pydiscourse/sso.py' --fail-under=100
2021-12-18 15:01:44 -05:00
deps =
-r{toxinidir}/requirements.txt
2016-04-08 13:56:41 -04:00
2023-08-31 17:53:51 -04:00
[testenv:ruff]
2016-04-08 13:56:41 -04:00
basepython=python
2023-08-31 17:53:51 -04:00
skip_install=true
2016-04-08 13:59:18 -04:00
deps=
2023-08-31 17:53:51 -04:00
ruff
2016-04-08 13:56:41 -04:00
commands=
2023-08-31 17:53:51 -04:00
ruff .