Include hidden files and change coverage to relative

This commit is contained in:
Trenton H
2025-09-18 08:55:34 -07:00
parent 52bf66781e
commit 30455d16bf
2 changed files with 4 additions and 2 deletions

View File

@@ -378,14 +378,15 @@ jobs:
npx nyc merge coverage .nyc_output/out.json
npx nyc report --reporter=lcovonly --report-dir coverage
- name: Upload coverage artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.6.2
with:
name: merged-coverage
path: |
merged-backend-coverage.xml
.nyc_output/
.nyc_output/*
retention-days: 7
if-no-files-found: error
include-hidden-files: true
- name: SonarQube Analysis
uses: SonarSource/sonarqube-scan-action@v5
env:

View File

@@ -254,6 +254,7 @@ PAPERLESS_DISABLE_DBHANDLER = "true"
PAPERLESS_CACHE_BACKEND = "django.core.cache.backends.locmem.LocMemCache"
[tool.coverage.run]
relative_files = true
source = [
"src/",
]