File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ if [ "$CODECOVERAGE" -eq 1 ]; then
3333 pcov=" --coverage-html=${DIR} /coverage-html --coverage-clover coverage.xml"
3434fi
3535set +e
36- php $phpcov webapp/bin/phpunit -c webapp/phpunit.xml.dist webapp/tests/$unittest --log-junit ${DIR} /unit-tests.xml --colors=never $pcov > " $GITLABARTIFACTS " /phpunit.out
36+ php $phpcov webapp/bin/phpunit -c webapp/phpunit.xml.dist webapp/tests/$unittest --log-junit ${DIR} /unit-tests.xml --colors=never $pcov > " $ARTIFACTS " /phpunit.out
3737UNITSUCCESS=$?
3838set -e
3939CNT=0
4040THRESHOLD=32
4141if [ $CODECOVERAGE -eq 1 ]; then
42- CNT=$( sed -n ' /Generating code coverage report/,$p' " $GITLABARTIFACTS " /phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
42+ CNT=$( sed -n ' /Generating code coverage report/,$p' " $ARTIFACTS " /phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
4343 FILE=deprecation.txt
44- sed -n ' /Generating code coverage report/,$p' " $GITLABARTIFACTS " /phpunit.out > ${DIR} /$FILE
44+ sed -n ' /Generating code coverage report/,$p' " $ARTIFACTS " /phpunit.out > ${DIR} /$FILE
4545 if [ $CNT -le $THRESHOLD ]; then
4646 STATE=success
4747 else
@@ -61,7 +61,7 @@ if [ $UNITSUCCESS -eq 0 ]; then
6161else
6262 STATE=failure
6363fi
64- cp webapp/var/log/test.log " $GITLABARTIFACTS " /test.log
64+ cp webapp/var/log/test.log " $ARTIFACTS " /test.log
6565
6666curl https://api.github.com/repos/domjudge/domjudge/statuses/$CI_COMMIT_SHA \
6767 -X POST \
You can’t perform that action at this time.
0 commit comments