You've already forked Php-Template
chore: update test configurations and ignore files for coverage reporting #7
@@ -257,12 +257,18 @@ jobs:
|
|||||||
bin/pcov.sh
|
bin/pcov.sh
|
||||||
composer run tests:unit:coverage
|
composer run tests:unit:coverage
|
||||||
|
|
||||||
- name: 📦 Publish Build Artifacts
|
- name: Publish Test Report
|
||||||
env:
|
uses: mikepenz/action-junit-report@v5
|
||||||
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
if: success() || failure() # always run even if the previous step fails
|
||||||
uses: christopherhx/gitea-upload-artifact@v4
|
|
||||||
with:
|
with:
|
||||||
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }} -w ${{ gitea.workspace }}
|
report_paths: 'tests/reports/junit.xml'
|
||||||
name: junit-coverage.xml
|
|
||||||
path: tests/reports/junit.xml
|
# - name: 📦 Publish Build Artifacts
|
||||||
retention-days: 1
|
# env:
|
||||||
|
# NODE_TLS_REJECT_UNAUTHORIZED: 0
|
||||||
|
# uses: christopherhx/gitea-upload-artifact@v4
|
||||||
|
# with:
|
||||||
|
# options: --volumes-from ${{ env.JOB_CONTAINER_NAME }} -w ${{ gitea.workspace }}
|
||||||
|
# name: junit-coverage.xml
|
||||||
|
# path: tests/reports/junit.xml
|
||||||
|
# retention-days: 1
|
||||||
Reference in New Issue
Block a user