Skip to content

Commit

Permalink
Look for coverage file
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-robots committed Sep 15, 2023
1 parent 57e7415 commit 3fc1b0d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cypress_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@ jobs:
name: code-coverage-report
path: packages/end-to-end/coverage/coverage-summary.json

- name: Archive code coverage results webapp
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: packages/webapp/coverage/coverage-summary.json

- name: Archive code coverage results webapp
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: coverage/coverage-summary.json

- name: set code coverage badge
working-directory: "."
run: npx -p check-code-coverage update-badge --from '${GITHUB_WORKSPACE}/packages/end-to-end/coverage/coverage-summary.json'
Expand Down

0 comments on commit 3fc1b0d

Please sign in to comment.