forked from openhive-network/hivemind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
67 lines (52 loc) · 1.18 KB
/
tox.ini
File metadata and controls
67 lines (52 loc) · 1.18 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[tox]
envlist = py36, tavern, benchmark, tavern-benchmark, csv-report-parser
skipsdist = true
[testenv]
basepython=python3
deps =
pytest
[testenv:benchmark]
deps =
{[testenv]deps}
pytest-benchmark
requests
pyYAML
prettytable
commands =
python {toxinidir}/scripts/ci/start_api_benchmark.py {posargs}
[testenv:tavern]
setenv =
PYTHONPATH = {toxinidir}/tests/tests_api/scripts/:{env:PYTHONPATH:}
passenv =
HIVEMIND_ADDRESS
HIVEMIND_PORT
TAVERN_DIR
PYTHONPATH
changedir = {env:TAVERN_DIR}
deps =
{[testenv]deps}
pytest-parallel
tavern
deepdiff[murmur]
jsondiff
commands = pytest {posargs}
[testenv:tavern-benchmark]
setenv =
{[testenv:tavern]setenv}
passenv =
{[testenv:tavern]passenv}
TAVERN_DISABLE_COMPARATOR
HIVEMIND_BENCHMARKS_IDS_FILE
changedir = {env:TAVERN_DIR}
deps =
{[testenv:tavern]deps}
git+https://gitlab.syncad.com/dkedzierski/tavern_time_request.git@dk-save-request-data#egg=tavern-time-request
commands = pytest --tavern-http-backend time_request {posargs}
[testenv:csv-report-parser]
deps =
{[testenv]deps}
requests
prettytable
pyYAML
changedir = {toxinidir}
commands = python {toxinidir}/scripts/csv_report_parser.py {posargs}