-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
53 lines (47 loc) · 997 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tox]
minversion = 4.0
envlist = py{38,39,310,311,312}-{lnx,mac,win}
[testenv]
platform =
lnx: linux
mac: darwin
win: win32
set_env =
lnx, mac: NXPY_TEST_DIR={toxinidir}/tmp/nxpy
win: NXPY_TEST_DIR={toxinidir}\tmp\nxpy
pass_env =
JAVA_HOME
M2_HOME
win: USERNAME
allowlist_externals =
mkdir
mvn
deps =
pytest
pytest-cov
six
-e libs/abstract
-e libs/backup_file
-e libs/command
-e libs/core
-e libs/file
-e libs/file_object
-e libs/maven
-e libs/memo
-e libs/nonblocking_subprocess
-e libs/past
-e libs/path
-e libs/ply
-e libs/sequence
-e libs/sort
-e libs/svn
-e libs/temp_file
-e libs/test
-e libs/xml
commands =
#python bin/install_libs.py -d
lnx, mac: -mkdir -p {toxinidir}/tmp/nxpy
win: -mkdir -p {toxinidir}\tmp\nxpy
lnx, mac: python test/bin/setup_test_env.py
win: python test/bin/setup_test_env.py
python -m pytest --color=yes libs -s