forked from matrix-org/pantalaimon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (26 loc) · 609 Bytes
/
tox.ini
File metadata and controls
29 lines (26 loc) · 609 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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