We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b3cf2d commit be5079dCopy full SHA for be5079d
.github/jobs/unit-tests.sh
@@ -41,12 +41,8 @@ CNT=0
41
THRESHOLD=32
42
if [ $CODECOVERAGE -eq 1 ]; then
43
CNT=$(sed -n '/Generating code coverage report/,$p' "$ARTIFACTS"/phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
44
- FILE=deprecation.txt
45
- sed -n '/Generating code coverage report/,$p' "$ARTIFACTS"/phpunit.out > ${DIR}/$FILE
46
- if [ $CNT -le $THRESHOLD ]; then
47
- STATE=success
48
- else
49
- STATE=failure
+ if [ $CNT -gt $THRESHOLD ]; then
+ UNITSUCCESS=1
50
fi
51
52
if [ $UNITSUCCESS -eq 0 ]; then
0 commit comments