forked from authlib/authlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (35 loc) · 773 Bytes
/
tox.ini
File metadata and controls
38 lines (35 loc) · 773 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
30
31
32
33
34
35
36
37
38
[tox]
envlist =
py{27,36,37,38}
{py36,py37,py38}
{py27,py36,py37,py38}-flask
{py36,py37,py38}-django
coverage
[testenv]
deps =
-rrequirements-test.txt
py27: unittest2
flask: Flask
flask: Flask-SQLAlchemy
py3: httpx==0.14.3
py3: pytest-asyncio
py3: starlette
py3: itsdangerous
py3: werkzeug
django: Django
django: pytest-django
setenv =
TESTPATH=tests/core
RCFILE=setup.cfg
py27: RCFILE=.py27conf
py3: TESTPATH=tests/py3
flask: TESTPATH=tests/flask
django: TESTPATH=tests/django
commands =
coverage run --rcfile={env:RCFILE} --source=authlib -p -m pytest {env:TESTPATH}
[testenv:coverage]
skip_install = true
commands =
coverage combine
coverage report
coverage html