File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,16 @@ if [ "$CODECOVERAGE" -eq 1 ]; then
33
33
pcov=" --coverage-html=${DIR} /coverage-html --coverage-clover coverage.xml"
34
34
fi
35
35
set +e
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
36
+ php $phpcov webapp/bin/phpunit -c webapp/phpunit.xml.dist webapp/tests/$unittest --log-junit ${ARTIFACTS } /unit-tests.xml --colors=never $pcov > " $ARTIFACTS " /phpunit.out
37
37
UNITSUCCESS=$?
38
+
39
+ # Store the unit tests also in the root for the GHA
40
+ cp $ARTIFACTS /unit-tests.xml $DIR /
41
+
42
+ # Make sure the log exists before copy
43
+ touch ${DIR} /webapp/var/log/test.log
44
+ cp ${DIR} /webapp/var/log/* .log " $ARTIFACTS " /
45
+
38
46
set -e
39
47
CNT=0
40
48
THRESHOLD=32
You can’t perform that action at this time.
0 commit comments