chore: update test configurations and ignore files for coverage reporting
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m31s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m49s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m32s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 1m40s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m38s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Failing after 1m53s

This commit is contained in:
2025-10-15 20:44:49 -04:00
parent d2bd9d2d1b
commit 51d5f08c2f
7 changed files with 22 additions and 97 deletions

View File

@@ -246,10 +246,20 @@ jobs:
siteworxpro/composer \
install --ignore-platform-reqs --no-interaction --prefer-dist --optimize-autoloader
- name: Run Unit Tests
run: |
docker run --rm \
--volumes-from ${{ env.JOB_CONTAINER_NAME }} \
-w ${{ github.workspace }} \
siteworxpro/composer \
run tests:unit
- name: 🧪 ✅ Run Unit Tests
uses: addnab/docker-run-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
image: siteworxpro/composer
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }} -w ${{ gitea.workspace }}
run: |
bin/pcov.sh
composer run tests:unit:coverage
- name: 📦 Publish Build Artifacts
uses: christopherhx/gitea-upload-artifact@v4
with:
name: ${{ github.ref_name }}-junit-coverage.xml
path: tests/reports/junit.xml
retention-days: 1