-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
59 lines (48 loc) · 1.05 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
[tox]
envlist = py38-mode-{unit, integration-chuck, integration-pantry, integration-notion}
[testenv:py38-gh-unit]
deps =
-rrequirements.txt
pytest
pytest-cov
pytest-asyncio
coverage-badge
commands =
pytest --cov=src -v --ignore=test/integration
coverage-badge -f -o coverage.svg
[testenv:py38-mode-unit]
deps =
-rrequirements.txt
mypy
black
flake8
pytest
pytest-cov
pytest-asyncio
coverage-badge
commands =
black src
black test
mypy --install-types
mypy src
flake8 src
pytest --cov=src -v --ignore=test/integration
coverage-badge -f -o coverage.svg
[testenv:py38-mode-integration-chuck]
deps =
pytest
-rrequirements.txt
commands =
pytest test/integration/test_chuck_norris.py -v
[testenv:py38-mode-integration-pantry]
deps =
pytest
-rrequirements.txt
commands =
pytest test/integration/test_pantry.py -v
[testenv:py38-mode-integration-notion]
deps =
pytest
-rrequirements.txt
commands =
pytest test/integration/test_notion.py -v