File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,11 @@ venv() {
20
20
source " $1 " /bin/activate
21
21
}
22
22
23
- git clean --force -d -x || /bin/true
24
23
cloneorpull common-workflow-language https://github.com/common-workflow-language/common-workflow-language.git
25
24
docker pull node:slim
25
+ # clean both the repos before the loop
26
+ git clean --force -d -x || /bin/true
27
+ git -C common-workflow-language clean --force -d -x || /bin/true
26
28
27
29
# Test for Python 2.7 and Python 3
28
30
for PYTHON_VERSION in 2.7 3
34
36
pip${PYTHON_VERSION} install .
35
37
pip${PYTHON_VERSION} install " cwltest>=1.0.20160825151655"
36
38
pushd common-workflow-language
37
- git clean --force -d -x || /bin/true
38
39
# shellcheck disable=SC2154
39
40
if [[ " $version " = * dev* ]]
40
41
then
41
42
EXTRA=" EXTRA=--enable-dev"
42
43
fi
43
- ./run_test.sh --junit-xml=result.xml RUNNER=cwltool -j4 DRAFT=${version}
44
+ ./run_test.sh --junit-xml=result${PYTHON_VERSION} .xml RUNNER=cwltool -j4 DRAFT=${version}
44
45
deactivate
45
46
CODE=$?
46
47
popd
You can’t perform that action at this time.
0 commit comments