-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox.ini
45 lines (35 loc) · 853 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
[tox]
envlist = py36, py37, py38, py39
skipsdist = true
isolated_build = True
skip_missing_interpreters = true
[base]
deps = -rrequirements.txt
[testenv]
description = Run a development test server
deps =
{[base]deps}
commands =
coverage run --source=pythonproject -m unittest discover -v
; coverage run --source=pythonproject -m pytest
coverage report -m
coverage xml
[testenv:py38]
description = Run a development test server
deps =
{[base]deps}
commands =
coverage run --source=pythonproject -m unittest discover -v
coverage report -m
coverage xml
[testenv:flake8]
description = Run a flake8 testing environment
deps =
flake8
commands = flake8 pythonproject
[testenv:doc]
description = Run a development server for working on documentation
deps =
{[base]deps}
commands =
mkdocs build --clean