forked from red-hat-storage/ocs-monkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (37 loc) · 802 Bytes
/
tox.ini
File metadata and controls
41 lines (37 loc) · 802 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
31
32
33
34
35
36
37
38
39
40
41
[testenv]
deps =
-r requirements.txt
lint_paths =
chaos_runner.py
event.py
failure.py
failure_ocs.py
kube.py
log_gather.py
log_gather_ocs.py
osio.py
osio-workload/workload.py
workload_runner.py
util.py
commands =
mypy --strict {[testenv]lint_paths}
pylint {[testenv]lint_paths}
pytest
[testenv:py36-kubetest]
deps =
-r requirements.txt
commands =
pytest --run-kube-tests
passenv = KUBECONFIG
[testenv:srclint]
basepython=python3
commands =
{toxinidir}/.travis/pre-commit.sh
passenv = *
[tox]
envlist = py36, srclint
skipsdist = True
[pytest]
addopts = --strict-markers --doctest-modules
markers =
kube_required: Tests that require access to a kube/openshift cluster