Do we have a .coverage file even?

This commit is contained in:
Trenton H
2025-09-16 08:20:12 -07:00
parent bb3c513b6a
commit f6a1d0c3b1

View File

@@ -138,6 +138,7 @@ 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
@@ -159,6 +160,7 @@ jobs:
path: | path: |
.coverage .coverage
coverage.xml coverage.xml
junit.xml
retention-days: 1 retention-days: 1
- name: Stop containers - name: Stop containers
if: always() if: always()
@@ -247,7 +249,10 @@ jobs:
if: always() if: always()
with: with:
name: frontend-coverage-${{ matrix.shard-index }} name: frontend-coverage-${{ matrix.shard-index }}
path: src-ui/coverage/coverage-final.json path: |
src-ui/coverage/lcov.info
src-ui/coverage/coverage-final.json
src-ui/junit.xml
retention-days: 1 retention-days: 1
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 }})"
@@ -342,12 +347,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Download all backend coverage - name: Download all backend coverage
uses: actions/download-artifact@v4 uses: actions/download-artifact@v5.0.0
with: with:
pattern: backend-coverage-* pattern: backend-coverage-*
path: ./coverage/ path: ./coverage/
- name: Download all frontend coverage - name: Download all frontend coverage
uses: actions/download-artifact@v4 uses: actions/download-artifact@v5.0.0
with: with:
pattern: frontend-coverage-* pattern: frontend-coverage-*
path: ./coverage/ path: ./coverage/