forked from opensearch-project/opensearch-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (46 loc) · 1.15 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
46
47
48
###############################################################################
#
# tox configuration for OpenSearch Benchmark.
#
# Invocation: Run `make it`
#
###############################################################################
[tox]
envlist =
py38,py39,py310,py311
platform =
linux|darwin
[testenv]
deps=
pytest
passenv =
HOME
JAVA_HOME
JAVA8_HOME
JAVA9_HOME
JAVA10_HOME
JAVA11_HOME
JAVA12_HOME
JAVA13_HOME
JAVA14_HOME
JAVA15_HOME
JAVA16_HOME
BENCHMARK_HOME
SSH_AUTH_SOCK
THESPLOG_FILE
THESPLOG_FILE_MAXSIZE
THESPLOG_THRESHOLD
# we do not pass LANG and LC_ALL anymore in order to isolate integration tests
# from the test environment. OSBenchmark needs to enforce UTF-8 encoding in every
# place so we intentionally set LC_ALL to C.
setenv =
LC_ALL=C
# According to http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html
# LC_ALL should have priority but to ensure that non-confirming
# applications behave identically, we also set LANG explicitly.
LANG=C
commands =
python -V
pytest -s it --junitxml=junit-{envname}-it.xml
whitelist_externals =
pytest