-
Notifications
You must be signed in to change notification settings - Fork 108
/
tox.ini
34 lines (33 loc) · 922 Bytes
/
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
[tox]
minversion = 3.18.0
isolated_build = True
toxworkdir = {env:TOXWORKDIR:/var/tmp/{env:USER}/tox}
distshare = {toxworkdir}/distshare
envlist = py39
[testenv]
description = Lints code and runs all agent and server unit/functional tests
install_command = pip install --cache-dir={toxworkdir}/cache --progress-bar off --prefix={envdir} {opts} {packages}
passenv =
PY_COLORS
NO_COLORS
TERM
HOME
USER
PBENCH_UNITTEST_PARALLEL
DEBUG_EXEC_UNITTESTS
COV_REPORT_XML
WORKSPACE
setenv =
VIRTUAL_ENV = {envdir}
XDG_CACHE_HOME = {envdir}
SKIP_GENERATE_AUTHORS = 1
SKIP_WRITE_GIT_CHANGELOG = 1
deps =
-r{toxinidir}/agent/requirements.txt
-r{toxinidir}/agent/test-requirements.txt
-r{toxinidir}/server/requirements.txt
-r{toxinidir}/server/test-requirements.txt
commands =
bash -c "{toxinidir}/exec-unittests {envdir} {posargs}"
whitelist_externals =
bash