-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(coverage): Add new GitHub Action for code coverage and update REA…
…DME badges This commit introduces a new GitHub Action that performs code coverage checks on the 'main' and 'beta' branches. It adds several new badges to the README file, including workflow status, issues, and pull request statistics. The README also includes minor formatting and content improvements, making the text clearer and optimizing the layout for better readability.
- Loading branch information
1 parent
d6b0d6a
commit 2f33cb6
Showing
2 changed files
with
50 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'coverage' | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- beta | ||
jobs: | ||
coverage: | ||
permissions: | ||
checks: write | ||
pull-requests: write | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: jwalton/gh-find-current-pr@v1 | ||
id: findPr | ||
- uses: ArtiomTr/jest-coverage-report-action@v2 | ||
with: | ||
test-script: npm test | ||
prnumber: ${{ steps.findPr.outputs.number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2f33cb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
❌ An unexpected error occurred. For more details, check console
Test suite run failed
Failed tests: 0/62. Failed suites: 0/1.
Report generated by 🧪jest coverage report action from 2f33cb6