File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ venv() {
13
13
# shellcheck source=/dev/null
14
14
source " $1 " /bin/activate
15
15
}
16
+ git clean --force -d -x || /bin/true
16
17
cloneorpull common-workflow-language https://github.com/common-workflow-language/common-workflow-language.git
17
18
venv cwltool-venv
18
19
docker pull node:slim
@@ -22,14 +23,14 @@ python setup.py install
22
23
pip install " cwltest>=1.0.20160825151655"
23
24
pushd common-workflow-language
24
25
git clean --force -d -x || /bin/true
25
- ./run_test.sh --junit-xml=result.xml RUNNER=cwltool DRAFT=draft-3 && \
26
- ./run_test.sh --junit-xml=result.xml RUNNER=cwltool && \
27
- ./run_test.sh --junit-xml=result.xml RUNNER=cwltool DRAFT=v1.1.0-dev1 EXTRA=--enable-dev
26
+ if [ $version = * dev ] then
27
+ EXTRA= " EXTRA=--enable-dev "
28
+ ./run_test.sh --junit-xml=result.xml RUNNER=cwltool DRAFT=${version} ${ EXTRA}
28
29
CODE=$?
29
30
popd
30
31
if [ " $GIT_BRANCH " = " origin/master" ]
31
32
then
32
33
./build-cwl-docker.sh && docker push commonworkflowlanguage/cwltool_module && docker push commonworkflowlanguage/cwltool
33
34
fi
34
35
# docker rm -v $(docker ps -a -f status=exited | sed 's/ */ /g' | cut -d' ' -f1)
35
- return ${CODE}
36
+ exit ${CODE}
You can’t perform that action at this time.
0 commit comments