File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -44,20 +44,20 @@ cp ${DIR}/webapp/var/log/test.log "$ARTIFACTS"/test.log
4444
4545exit 0
4646
47- set -e
48- CNT=0
49- THRESHOLD=32
50- if [ $CODECOVERAGE -eq 1 ]; then
51- CNT=$( sed -n ' /Generating code coverage report/,$p' " $ARTIFACTS " /phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
52- if [ $CNT -gt $THRESHOLD ]; then
53- UNITSUCCESS=1
54- fi
55- fi
56-
57- if [ $UNITSUCCESS -ne 0 ] || [ $CNT -gt $THRESHOLD ]; then
58- exit 1
59- fi
60-
47+ # set -e
48+ # CNT=0
49+ # THRESHOLD=32
50+ # if [ $CODECOVERAGE -eq 1 ]; then
51+ # CNT=$(sed -n '/Generating code coverage report/,$p' "$ARTIFACTS"/phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
52+ # if [ $CNT -gt $THRESHOLD ]; then
53+ # UNITSUCCESS=1
54+ # fi
55+ # fi
56+ #
57+ # if [ $UNITSUCCESS -ne 0 ] || [ $CNT -gt $THRESHOLD ]; then
58+ # exit 1
59+ # fi
60+ #
6161if [ $CODECOVERAGE -eq 1 ]; then
6262 section_start " Upload code coverage"
6363 # Only upload when we got working unit-tests.
You can’t perform that action at this time.
0 commit comments