-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtox.ini
47 lines (42 loc) · 1019 Bytes
/
tox.ini
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
isolated_build = True
envlist = py37, py38, py39, py310, report
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[testenv]
deps =
requests==2.31.0
urllib3==1.26.5
websocket-client==0.57.0
certifi==2018.4.16
chardet==3.0.4
idna==2.7
py==1.10.0
pytest==7.1.3
pytest-cov==4.0.0
python-dotenv==0.21.0
pluggy==1.0.0
attrs==22.1.0
depends =
{py37, py38, py39, py310}: clean
report: py37, py38, py39, py310
commands =
python -m pytest --cov-append --cov=pyC8 tests/
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report --fail-under=100 --show-missing
coverage html
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase