forked from lepture/authlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (43 loc) · 921 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]
envlist =
py{27,36,37}
{py36,py37}-async
{py27,py36,py37}-flask
{py36,py37}-django
coverage
[testenv]
deps =
-rrequirements-test.txt
py27: unittest2
flask: Flask
flask: Flask-SQLAlchemy
async: httpx
async: pytest-asyncio
async: starlette>=0.12.7
async: itsdangerous>=1.1.0
django: Django==2.2
django: pytest-django
setenv =
TESTPATH=tests/core
RCFILE=setup.cfg
async: RCFILE=.asyncoverage
async: 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
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
deps =
codecov
skip_install = true
commands =
coverage combine
coverage report
codecov