apprise-api/tox.ini

31 lines
795 B
INI
Raw Normal View History

2020-01-04 21:50:00 +01:00
[tox]
2023-07-07 03:38:15 +02:00
envlist = py311,coverage-report
2020-01-04 21:50:00 +01:00
skipsdist = true
[testenv]
# Prevent random setuptools/pip breakages like
# https://github.com/pypa/setuptools/issues/1042 from breaking our builds.
setenv =
VIRTUALENV_NO_DOWNLOAD=1
deps=
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev-requirements.txt
commands =
coverage run --parallel -m pytest {posargs} apprise_api
flake8 apprise_api --count --show-source --statistics
2023-07-07 03:38:15 +02:00
[testenv:py311]
2020-01-09 03:22:11 +01:00
deps=
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev-requirements.txt
commands =
coverage run --parallel -m pytest {posargs} apprise_api
flake8 apprise_api --count --show-source --statistics
2020-01-04 21:50:00 +01:00
[testenv:coverage-report]
deps = coverage
skip_install = true
commands=
coverage combine apprise_api
coverage report apprise_api