File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ if [ "$CODECOVERAGE" -eq 1 ]; then
35
35
pcov=" --coverage-html=${DIR} /coverage-html --coverage-clover coverage.xml"
36
36
fi
37
37
set +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
39
39
UNITSUCCESS=$?
40
40
set -e
41
41
CNT=0
Original file line number Diff line number Diff line change @@ -46,14 +46,15 @@ jobs:
46
46
run : diff newcodecov .github/jobs/uploadcodecov.sh
47
47
- name : Run the unit tests
48
48
run : .github/jobs/unit-tests.sh ${{ matrix.PHPVERSION }} ${{ matrix.TEST }}
49
- # - name: Publish Test Results
50
- # uses: EnricoMi/publish-unit-test-result-action@v2
51
- # if: always()
52
- # with:
53
- # files: |
54
- # test-results/**/*.xml
55
49
- name : Upload artifact for debugging
56
50
uses : actions/upload-artifact@v3
51
+ if : ${{ !cancelled() }}
57
52
with :
58
53
name : unit-test-output
59
54
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