-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
37 lines (31 loc) · 886 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
[tox]
envlist = py27, py37, flake8
[travis]
python =
3.7: py37
[testenv:flake8]
basepython = python3
deps = flake8
commands = flake8 cwl_subworkflows
[testenv:py27]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_p2.7.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_p2.7.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir} tests
[testenv:py37]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements.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 =
pip install -U pip
py.test --basetemp={envtmpdir} tests