-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
29 lines (25 loc) · 926 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
[tox]
envlist = py39
[testenv]
extras = test, service, rdf, domains, mmoda
deps =
pytest
pytest-cov
dipsatcher-plugin-nb2workflow: git+https://github.com/oda-hub/dispatcher-plugin-nb2workflow.git@master#egg=dispatcher-plugin-nb2workflow
commands = pytest -sv --log-cli-level DEBUG --cov=./ -k 'not cwl and not docker and not deploy' {posargs}
[testenv:flake8]
extras = test, service, rdf, cwl, mmoda
deps =
pytest
flake8
commands =
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
[testenv:py39-cwl]
extras = test, service, rdf, cwl, mmoda
deps = pytest
commands = pytest -sv --log-cli-level DEBUG --cov=./ -k 'cwl' {posargs}
[testenv:py39-docker]
extras = test, service, rdf, docker, mmoda
deps = pytest
commands = pytest -sv --log-cli-level DEBUG --cov=./nb2workflow -k 'docker' {posargs}