mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
30 lines
609 B
INI
30 lines
609 B
INI
# content of: tox.ini , put in same dir as setup.py
|
|
[tox]
|
|
envlist = py38,py39,coverage
|
|
[testenv]
|
|
basepython =
|
|
py38: python3.8
|
|
py39: python3.9
|
|
py3: python3.9
|
|
|
|
deps = -rtest-requirements.txt
|
|
install_command = pip install {opts} {packages}
|
|
|
|
passenv = TOXENV CI TRAVIS TRAVIS_*
|
|
commands = pytest
|
|
usedevelop = True
|
|
|
|
[testenv:coverage]
|
|
basepython = python3.9
|
|
commands =
|
|
pytest --cov=pantalaimon --cov-report term-missing
|
|
coverage xml
|
|
coverage report --show-missing
|
|
codecov -e TOXENV
|
|
deps =
|
|
-rtest-requirements.txt
|
|
coverage
|
|
codecov>=1.4.0
|
|
setenv =
|
|
COVERAGE_FILE=.coverage
|