forked from GoogleCloudPlatform/PerfKitBenchmarker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (38 loc) · 1.3 KB
/
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
36
37
38
39
40
41
42
43
44
45
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py27,flake8,scripttests
[testenv]
usedevelop = True
skip_install = True
commands = nosetests {toxinidir}/tests []
passenv = HOME
deps =
-rrequirements-testing.txt
[testenv:scripttests]
commands = nosetests {toxinidir}/script-tests []
setenv =
PYTHONPATH = {toxinidir}/perfkitbenchmarker/scripts:{toxinidir}/perfkitbenchmarker/scripts/object_storage_api_test_scripts:{env:PYTHONPATH:}
[testenv:flake8]
skip_install = True
usedevelop = True
commands = flake8 {posargs:perfkitbenchmarker tests script-tests pkb.py}
deps =
flake8==2.4.1
pep8==1.5.7
[testenv:integration]
commands = nosetests {toxinidir}/tests/integration
deps =
-rperfkitbenchmarker/providers/aws/requirements.txt
-rrequirements-testing.txt
setenv =
PERFKIT_INTEGRATION = 1
[testenv:scripttests-integration]
commands = nosetests {toxinidir}/script-tests/integration
setenv =
PYTHONPATH = {toxinidir}/perfkitbenchmarker/scripts:{toxinidir}/perfkitbenchmarker/scripts/object_storage_api_test_scripts:{env:PYTHONPATH:}
[flake8]
ignore = E111,E129,E303
max-line-length = 80