-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (27 loc) · 745 Bytes
/
tox.ini
File metadata and controls
30 lines (27 loc) · 745 Bytes
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
[tox]
envlist = py36, py37, py38, flake8
[testenv:azure]
basepython = python
deps =
pytest-azurepipelines
pytest-cov
-r{toxinidir}/requirements_dev.txt
setenv =
PYTHONDEVMODE = 1
commands =
pytest -ra --basetemp={envtmpdir} --cov=procrunner --cov-report=html --cov-report=xml --cov-branch
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 procrunner
[testenv]
setenv =
PYTHONPATH = {toxinidir}
PYTHONDEVMODE = 1
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pytest -ra --basetemp={envtmpdir}