File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 81
81
then
82
82
EXTRA=" EXTRA=${EXTRA} "
83
83
fi
84
+ if [[ " $version " = " v1.0" ]] && [[ " $CONTAINER " = " docker" ]] && [ $PYTHON_VERSION -eq 3 ]
85
+ then
86
+ BADGE=" --badgedir=badges"
87
+ fi
84
88
# shellcheck disable=SC2086
85
89
LC_ALL=C.UTF-8 ./run_test.sh --junit-xml=result${PYTHON_VERSION} .xml \
86
- RUNNER=${CWLTOOL_WITH_COV} " -j$( nproc) " \
90
+ RUNNER=${CWLTOOL_WITH_COV} " -j$( nproc) " ${BADGE} \
87
91
${DRAFT} " ${EXTRA} " \
88
92
" --classname=py${PYTHON_VERSION} _${CONTAINER} "
89
93
# LC_ALL=C is to work around junit-xml ASCII only bug
@@ -100,5 +104,12 @@ if [ "$GIT_BRANCH" = "origin/master" ] && [[ "$version" = "v1.0" ]]
100
104
then
101
105
./build-cwl-docker.sh
102
106
fi
107
+
108
+ if [ " $GIT_BRANCH " = " origin/master" ] && [ -e badges ]
109
+ then
110
+ # TODO: push badgedir to the badge repository
111
+ true
112
+ fi
113
+
103
114
# docker rm -v $(docker ps -a -f status=exited | sed 's/ */ /g' | cut -d' ' -f1)
104
115
exit ${CODE}
You can’t perform that action at this time.
0 commit comments