Skip to content

Commit

Permalink
ci: merged coverage stored
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Jul 21, 2024
1 parent d3817c1 commit 1f9e62a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ jobs:
path: coverage/lcov.info

coverage:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [build, test, acceptance]
steps:
Expand All @@ -167,7 +168,6 @@ jobs:

- name: Attempt to restore the cache
uses: actions/cache@v3
id: cache_restore
with:
fail-on-cache-miss: true
path: |
Expand All @@ -186,7 +186,10 @@ jobs:
mv coverage/cypress-lcov/lcov.info merged_coverage/cypress.info
mv coverage/jest-lcov/lcov.info merged_coverage/jest.info
./node_modules/.bin/lcov-result-merger './merged_coverage/*' merged_coverage.info
- uses: actions/upload-artifact@v2
with:
name: merged-lcov
path: merged_coverage.info


delivery:
Expand Down

0 comments on commit 1f9e62a

Please sign in to comment.