From 54edae114307c3b32ed774bbdddebe43bb39eb70 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Thu, 17 Oct 2024 21:28:31 -0700 Subject: [PATCH] Add Code Coverage from Test App We're only seeing coverage out of the frontend currently, let's combine it with what we get from the test app and send them both to codeclimate. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d3210abea..43fb6d3e0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -158,14 +158,16 @@ jobs: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: - name: coverage-frontend + pattern: coverage-* path: coverage - run: ls -lh - run: ls -lh coverage + - run: ls -lh coverage/coverage-frontend + - run: ls -lh coverage/coverage-test-app - name: Publish code coverage uses: paambaati/codeclimate-action@v9.0.0 env: CC_TEST_REPORTER_ID: 8c510ad3aa4b1a2a3d504dfdbcc5605e7966c019dc1e9b68a815de50b946ebc6 with: coverageLocations: | - coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov + coverageLocations: coverage/coverage-frontend/lcov.info:lcov