mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
actually generate coverage file
This commit is contained in:
4
.github/workflows/pytest.yml
vendored
4
.github/workflows/pytest.yml
vendored
@@ -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
1
.gitignore
vendored
@@ -58,6 +58,7 @@ backend/romm_test/config
|
||||
/romm_test
|
||||
.coverage
|
||||
pytest-report.xml
|
||||
coverage.xml
|
||||
|
||||
# service worker
|
||||
frontend/dev-dist
|
||||
|
||||
Reference in New Issue
Block a user