2020-01-04 21:50:00 +01:00
|
|
|
[tox]
|
2022-05-29 22:26:18 +02:00
|
|
|
envlist = py310,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
|
|
|
|
|
2022-05-29 22:26:18 +02:00
|
|
|
[testenv:py310]
|
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
|