-
Notifications
You must be signed in to change notification settings - Fork 63
/
tox.ini
63 lines (56 loc) · 1.06 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tox]
envlist = py35, py36, py37, py38
[gh-actions]
python =
3.5: py35
3.6: py36
3.7: py37
3.8: py38
[testenv]
deps =
flake8
pytest
pytest-mock
commands =
{envpython} --version
flake8 cartoframes tests
py.test --basetemp="{envtmpdir}" tests/unit
[testenv:unit]
deps =
flake8
pytest
pytest-mock
commands =
{envpython} --version
flake8 tests/unit
py.test --basetemp="{envtmpdir}" tests/unit
[testenv:e2e]
deps =
flake8
pytest
commands =
{envpython} --version
flake8 tests/e2e
py.test --basetemp="{envtmpdir}" tests/e2e
[testenv:cov]
deps =
pytest
pytest-mock
pytest-cov
commands =
{envpython} --version
py.test --basetemp="{envtmpdir}" --cov=cartoframes tests/unit
[testenv:cov-html]
deps =
pytest
pytest-mock
pytest-cov
commands =
{envpython} --version
py.test --basetemp="{envtmpdir}" --cov=cartoframes --cov-report html tests/unit
[testenv:lint]
deps =
pylint
commands =
{envpython} --version
pylint --rcfile=.pylintrc cartoframes tests