chore: update test report publishing step in CI configuration
All checks were successful
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m52s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m2s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m2s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m58s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 2m34s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m18s

This commit is contained in:
2025-10-15 21:46:07 -04:00
parent 0c9e5ec561
commit 498442d087

View File

@@ -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