From 2e047e41ce0e2415a24703929ce52caa2e9d6d5f Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Sun, 6 Jul 2025 09:32:38 -0400 Subject: [PATCH] actually generate coverage file --- .github/workflows/pytest.yml | 4 ++-- .gitignore | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index fdc7b65ce..51c857d23 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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: | diff --git a/.gitignore b/.gitignore index eacce2b6a..a3e2b05c8 100644 --- a/.gitignore +++ b/.gitignore @@ -58,6 +58,7 @@ backend/romm_test/config /romm_test .coverage pytest-report.xml +coverage.xml # service worker frontend/dev-dist