Skip to content

Commit

Permalink
Let coverage step regenerate the report
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovazquezblanco committed Jun 24, 2024
1 parent 5e8857b commit 3faed3f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ jobs:
- name: Upload coverage
uses: ArtiomTr/[email protected]
continue-on-error: true
with:
coverage-file: ./coverage/coverage-final.json
base-coverage-file: ./coverage/coverage-final.json
skip-step: all

- name: Check build status
run: git diff --exit-code --quiet && echo "No changes were found :)" || { git --no-pager diff; echo -e "Changes found after build.\nPlease run \"npm run build\" and commit the changes in the dist directory."; exit 1; }
Expand Down

2 comments on commit 3faed3f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.❔
Category Percentage Covered / Total
🟒 Statements 91.33% 137/150
🟑 Branches 78.26% 18/23
🟒 Functions 100% 10/10
🟒 Lines 91.33% 137/150

Test suite run success

6 tests passing in 2 suites.

Report generated by πŸ§ͺjest coverage report action from 3faed3f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

Caution

An unexpected error occurred. For more details, check console

TypeError: Cannot read properties of undefined (reading 'totalStatements')
St.❔
Category Percentage Covered / Total
🟒 Statements 91.33% 137/150
🟑 Branches 78.26% 18/23
🟒 Functions 100% 10/10
🟒 Lines 91.33% 137/150

Test suite run success

6 tests passing in 2 suites.

Report generated by πŸ§ͺjest coverage report action from 3faed3f

Please sign in to comment.