mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-16 21:55:37 -05:00
I don't know what the frontend stuff is doing
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -138,7 +138,6 @@ jobs:
|
|||||||
--dev \
|
--dev \
|
||||||
--frozen \
|
--frozen \
|
||||||
pytest
|
pytest
|
||||||
ls -ahl .
|
|
||||||
- name: Upload backend test results to Codecov
|
- name: Upload backend test results to Codecov
|
||||||
if: always()
|
if: always()
|
||||||
uses: codecov/test-results-action@v1
|
uses: codecov/test-results-action@v1
|
||||||
@@ -163,6 +162,7 @@ jobs:
|
|||||||
junit.xml
|
junit.xml
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
include-hidden-files: true
|
include-hidden-files: true
|
||||||
|
if-no-files-found: fail
|
||||||
- name: Stop containers
|
- name: Stop containers
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
@@ -255,6 +255,7 @@ jobs:
|
|||||||
src-ui/coverage/coverage-final.json
|
src-ui/coverage/coverage-final.json
|
||||||
src-ui/junit.xml
|
src-ui/junit.xml
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
if-no-files-found: fail
|
||||||
tests-frontend-e2e:
|
tests-frontend-e2e:
|
||||||
name: "Frontend E2E Tests (Node ${{ matrix.node-version }} - ${{ matrix.shard-index }}/${{ matrix.shard-count }})"
|
name: "Frontend E2E Tests (Node ${{ matrix.node-version }} - ${{ matrix.shard-index }}/${{ matrix.shard-count }})"
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
@@ -373,10 +374,9 @@ jobs:
|
|||||||
# Merge frontend coverage from all shards
|
# Merge frontend coverage from all shards
|
||||||
- name: Merge frontend coverage
|
- name: Merge frontend coverage
|
||||||
run: |
|
run: |
|
||||||
# Merge all coverage-final.json files
|
mkdir -p .nyc_output
|
||||||
npx nyc merge coverage/frontend-coverage-*/ merged-frontend.json
|
npx nyc merge coverage .nyc_output/out.json
|
||||||
# Generate LCOV from merged data
|
npx nyc report --reporter=lcovonly --report-dir coverage
|
||||||
npx nyc report --reporter=lcov --temp-dir ./ --report-dir ./
|
|
||||||
- name: SonarQube Analysis
|
- name: SonarQube Analysis
|
||||||
uses: SonarSource/sonarqube-scan-action@v5
|
uses: SonarSource/sonarqube-scan-action@v5
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user