File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ if [ "$CODECOVERAGE" -eq 1 ]; then
3535 pcov=" --coverage-html=${DIR} /coverage-html --coverage-clover coverage.xml"
3636fi
3737set +e
38- 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
38+ 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
3939UNITSUCCESS=$?
4040set -e
4141CNT=0
Original file line number Diff line number Diff line change 4848 run : .github/jobs/unit-tests.sh ${{ matrix.PHPVERSION }} ${{ matrix.TEST }}
4949 - name : Upload artifact for debugging
5050 uses : actions/upload-artifact@v3
51+ if : ${{ !cancelled() }}
5152 with :
5253 name : unit-test-output
5354 path : /tmp/artifacts
55+ - name : Publish Test Results
56+ uses : EnricoMi/publish-unit-test-result-action@v2
57+ if : ${{ !cancelled() }}
58+ with :
59+ files : |
60+ /tmp/artifacts/unit-tests.xml
You can’t perform that action at this time.
0 commit comments