sidx1024 / report-nyc-coverage-github-action

GitHub Action that posts the report in a comment on a GitHub Pull Request from coverage data generated by nyc (istanbul)
MIT License
21 stars 10 forks source link

Fix git diff #11

Closed sidx1024 closed 2 years ago

sidx1024 commented 2 years ago

Old behaviour: git diff was including changes between base branch and head branch. New behaviour: git diff will include changes that occurred on the base branch since when the head branch was started off it. Reference: https://git-scm.com/docs/git-diff#Documentation/git-diff.txt-Comparingbranches

Changes

github-actions[bot] commented 2 years ago

Coverage Report

Commit: 12d66ab

Type Percent
Total Statements Coverage  46.77%
Total Branches Coverage  47.82%
Total Functions Coverage  64.28%
Total Lines Coverage  47.05%
Details (changed files)
FileStatementsBranchesFunctionsLines
src/constants.js 100% 100% 100% 100%
src/index.js 0% 0% 0% 0%
Details (all files)
FileStatementsBranchesFunctionsLines
src/constants.js 100% 100% 100% 100%
src/format.js 88.88% 72.72% 88.88% 88.88%
src/index.js 0% 0% 0% 0%
src/parse.js 84.61% 66.66% 66.66% 84.61%
src/utils.js 91.66% 85.71% 100% 90.9%