actually generate coverage file

This commit is contained in:
Georges-Antoine Assi
2025-07-06 09:32:38 -04:00
parent 7cdc42e307
commit 2e047e41ce
2 changed files with 3 additions and 2 deletions

View File

@@ -59,10 +59,10 @@ jobs:
DB_PORT: ${{ job.services.mariadb.ports['3306'] }}
run: |
cd backend
uv run pytest -vv --cov-report xml:coverage.xml --maxfail=10 --junitxml=pytest-report.xml .
uv run pytest -vv --maxfail=10 --junitxml=pytest-report.xml --cov --cov-report xml:coverage.xml --cov-config=.coveragerc .
- name: Publish test results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
uses: EnricoMi/publish-unit-test-result-action/linux@v2
if: (!cancelled())
with:
files: |

1
.gitignore vendored
View File

@@ -58,6 +58,7 @@ backend/romm_test/config
/romm_test
.coverage
pytest-report.xml
coverage.xml
# service worker
frontend/dev-dist