Skip to content

Commit

Permalink
Update code coverage path
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-robots committed Sep 15, 2023
1 parent 8658387 commit a87aa06
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cypress_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,17 @@ jobs:
name: logs
path: packages/api/logs

- name: set code coverage badge
run: npx -p check-code-coverage update-badge --from '${GITHUB_WORKSPACE}/packages/end-to-end/coverage/coverage-summary.json'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

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

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

- name: Set code coverage commit status
continue-on-error: true
Expand Down

0 comments on commit a87aa06

Please sign in to comment.