mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-22 00:52:42 -05:00
Include hidden files and change coverage to relative
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -378,14 +378,15 @@ jobs:
|
|||||||
npx nyc merge coverage .nyc_output/out.json
|
npx nyc merge coverage .nyc_output/out.json
|
||||||
npx nyc report --reporter=lcovonly --report-dir coverage
|
npx nyc report --reporter=lcovonly --report-dir coverage
|
||||||
- name: Upload coverage artifacts
|
- name: Upload coverage artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.6.2
|
||||||
with:
|
with:
|
||||||
name: merged-coverage
|
name: merged-coverage
|
||||||
path: |
|
path: |
|
||||||
merged-backend-coverage.xml
|
merged-backend-coverage.xml
|
||||||
.nyc_output/
|
.nyc_output/*
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
include-hidden-files: true
|
||||||
- name: SonarQube Analysis
|
- name: SonarQube Analysis
|
||||||
uses: SonarSource/sonarqube-scan-action@v5
|
uses: SonarSource/sonarqube-scan-action@v5
|
||||||
env:
|
env:
|
||||||
|
@@ -254,6 +254,7 @@ PAPERLESS_DISABLE_DBHANDLER = "true"
|
|||||||
PAPERLESS_CACHE_BACKEND = "django.core.cache.backends.locmem.LocMemCache"
|
PAPERLESS_CACHE_BACKEND = "django.core.cache.backends.locmem.LocMemCache"
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
|
relative_files = true
|
||||||
source = [
|
source = [
|
||||||
"src/",
|
"src/",
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user