Skip to content

Commit 197eb88

Browse files
committed
tox.ini: separate python and shell environments
python uses input/generate_all.py and shell uses input/generate_all.sh
1 parent a479f0c commit 197eb88

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

tox.ini

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,16 @@
22
minversion = 3.7.0
33
skipsdist = true
44
allowlist_external = /usr/bin/env
5-
envlist = py3-{linux,mac}
5+
envlist = py3
66

77
[testenv]
8-
platform =
9-
linux: linux
10-
mac: darwin
118
passenv = OUTPUT
12-
setenv =
13-
!mac: FIND_OPTS = -executable
14-
mac: FIND_OPTS = -perm '+111'
159
deps =
16-
dzcb~=0.2.0
10+
dzcb==0.3a3
1711
commands =
18-
/usr/bin/env bash -c " \
19-
find {toxinidir}/input \
20-
-name "generate.sh" \
21-
{env:FIND_OPTS} -print0 | \
22-
xargs -0 -n 1 bash \
23-
"
12+
python {toxinidir}/input/generate_all.py
13+
14+
[testenv:shell]
15+
platform = linux|darwin
16+
commands =
17+
{toxinidir}/input/generate_all.sh

0 commit comments

Comments
 (0)