-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
55 lines (50 loc) · 973 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
48
49
50
51
52
53
54
55
[tox]
isolated_build = true
envlist = py36, py37, py38, py39, format, lint, build
skip_missing_interpreters = true
[gh-actions]
python =
3.9: py39
3.8: py38, format, lint, build
3.7: py37
3.6: py36
[testenv]
allowlist_externals = pytest
extras =
test
passenv = *
setenv =
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = ignore
; commands =
; pytest -s --cov=fastapi_mailman --cov-append --cov-report=xml --cov-report term-missing tests
commands =
pytest -s tests
; [testenv:format]
; allowlist_externals =
; isort
; black
; extras =
; test
; commands =
; isort fastapi_mailman
; black fastapi_mailman tests
; [testenv:lint]
; allowlist_externals =
; flake8
; extras =
; test
; commands =
; flake8 fastapi_mailman tests
; [testenv:build]
; allowlist_externals =
; poetry
; mkdocs
; twine
; extras =
; doc
; dev
; commands =
; poetry build
; mkdocs build
; twine check dist/*