mirror of
https://github.com/caronc/apprise-api.git
synced 2024-11-07 08:44:26 +01:00
31 lines
795 B
INI
31 lines
795 B
INI
[tox]
|
|
envlist = py311,coverage-report
|
|
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
|
|
|
|
[testenv:py311]
|
|
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
|
|
|
|
[testenv:coverage-report]
|
|
deps = coverage
|
|
skip_install = true
|
|
commands=
|
|
coverage combine apprise_api
|
|
coverage report apprise_api
|