diff --git a/.codecov.yml b/.codecov.yml index 77328cf79..b4037d507 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -9,6 +9,15 @@ component_management: - component_id: frontend paths: - src-ui/** +flags: + backend: + paths: + - src/** + carryforward: true + frontend: + paths: + - src-ui/** + carryforward: true # https://docs.codecov.com/docs/pull-request-comments comment: layout: "header, diff, components, flags, files" diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 98c10396c..25d19f73a 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -88,13 +88,13 @@ jobs: if: always() uses: codecov/codecov-action@v5 with: - flags: backend-python-${{ matrix.python-version }} + flags: backend,backend-python-${{ matrix.python-version }} files: junit.xml report_type: test_results - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 with: - flags: backend-python-${{ matrix.python-version }} + flags: backend,backend-python-${{ matrix.python-version }} files: coverage.xml report_type: coverage - name: Stop containers diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml index b66a6dd77..06dabacf7 100644 --- a/.github/workflows/ci-frontend.yml +++ b/.github/workflows/ci-frontend.yml @@ -109,13 +109,13 @@ jobs: if: always() uses: codecov/codecov-action@v5 with: - flags: frontend-node-${{ matrix.node-version }} + flags: frontend,frontend-node-${{ matrix.node-version }} directory: src-ui/ report_type: test_results - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 with: - flags: frontend-node-${{ matrix.node-version }} + flags: frontend,frontend-node-${{ matrix.node-version }} directory: src-ui/coverage/ e2e-tests: name: "E2E Tests (${{ matrix.shard-index }}/${{ matrix.shard-count }})"