diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7125851b1..428e74df7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 41e1a49ac..c29685d34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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/", ]