-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathtox.ini
More file actions
51 lines (36 loc) · 1.35 KB
/
tox.ini
File metadata and controls
51 lines (36 loc) · 1.35 KB
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
45
46
47
48
49
50
51
[tox]
envlist = py27,py3{6,7,8,9,10},pep8
[testenv]
deps =
pip!=19.0.0,!=19.0.1,>=18.1
-rrequirements.txt
-rtest-requirements.txt
commands =
py.test {posargs} --cov=storops --cov-config coverage.ini --cov-report=xml --cov-report=html --cov-report term --junit-xml=junit-result.xml storops_test
setenv =
STATICBUILD = true
[pytest]
python_files = *.py
norecursedirs = .tox .git
[testenv:pep8]
deps =
pip!=19.0.0,!=19.0.1,>=18.1
flake8
commands =
flake8 storops storops_test storops_comptest
[testenv:comptest]
# all component tests
commands =
py.test -n2 --cov=storops --cov-config coverage.ini --cov-report=xml --cov-report term --junit-xml=junit-result.xml storops_comptest
[testenv:vnx]
# component test for vnx platform
commands =
py.test -n2 --cov=storops --cov-config coverage.ini --cov-report=xml --cov-report term --junit-xml=junit-result.xml storops_comptest/vnx
[testenv:unity]
# component test for unity platform
commands =
py.test -n2 --cov=storops --cov-config coverage.ini --cov-report=xml --cov-report term --junit-xml=junit-result.xml storops_comptest/unity
[testenv:vnx_multi]
# component for VNX features that requires more than 1 array
commands =
py.test --cov=storops --cov-config coverage.ini --cov-report=xml --cov-report term --junit-xml=junit-result.xml storops_comptest/vnx/test_mirror_view.py