diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index f42048d..6c033ee 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -257,12 +257,18 @@ jobs: bin/pcov.sh composer run tests:unit:coverage - - name: 📦 Publish Build Artifacts - env: - NODE_TLS_REJECT_UNAUTHORIZED: 0 - uses: christopherhx/gitea-upload-artifact@v4 + - name: Publish Test Report + uses: mikepenz/action-junit-report@v5 + if: success() || failure() # always run even if the previous step fails with: - options: --volumes-from ${{ env.JOB_CONTAINER_NAME }} -w ${{ gitea.workspace }} - name: junit-coverage.xml - path: tests/reports/junit.xml - retention-days: 1 \ No newline at end of file + report_paths: 'tests/reports/junit.xml' + +# - name: 📦 Publish Build Artifacts +# 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 \ No newline at end of file