Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add comment on commit (fixes #392) #408

Merged
merged 4 commits into from
Sep 1, 2024

Conversation

davelosert
Copy link
Owner

This is the implementation for the feature request #392.

Copy link
Contributor

github-actions bot commented Sep 1, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 67.26%
⬇️ -1.63%
524 / 779
🔵 Statements 67.26%
⬇️ -1.63%
524 / 779
🔵 Functions 86.66%
⬆️ +0.95%
26 / 30
🔵 Branches 94.4%
⬆️ +0.77%
118 / 125
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/index.ts 0% 0% 0% 0% 1-6, 10-15, 17-18, 23-24, 26-27, 29, 31-36, 38-52, 54-59, 61-70, 72, 74-76, 78-80, 82-84, 86-87, 89-117, 119-143, 145-152, 154-158, 160-166
src/writeSummaryToComment.ts 100% 100% 100% 100%
src/inputs/getCommentOn.ts 100% 100% 100% 100%
src/inputs/options.ts 0% 0% 0% 0% 1-2, 5-10, 25, 27, 29-30, 32-35, 37-40, 42-49, 51, 53, 56-59, 61-63, 65, 67, 69-81
Unchanged Files
src/icons.ts 100% 100% 100% 100%
src/octokit.ts 0% 0% 0% 0% 1-2, 6-9
src/writeSummaryToPR.ts 100% 100% 100% 100%
src/inputs/FileCoverageMode.ts 100% 100% 100% 100%
src/inputs/getCommitSHA.ts 100% 100% 100% 100%
src/inputs/getPullChanges.ts 80.39% 85.71% 100% 80.39% 53-61, 63
src/inputs/getPullRequestNumber.ts 92.06% 90% 100% 92.06% 73-77
src/inputs/getViteConfigPath.ts 97.95% 87.5% 100% 97.95% 47
src/inputs/parseCoverageThresholds.ts 100% 100% 100% 100%
src/inputs/parseJsonReports.ts 0% 0% 0% 0% 1-4, 8-14, 16-24, 28-29, 32-34, 36-44, 48-52
src/report/generateCommitSHAUrl.ts 100% 100% 100% 100%
src/report/generateFileCoverageHtml.ts 100% 100% 100% 100%
src/report/generateFileUrl.ts 100% 100% 100% 100%
src/report/generateHeadline.ts 100% 100% 100% 100%
src/report/generateSummaryTableHtml.ts 100% 100% 100% 100%
src/report/getUncoveredLinesFromStatements.ts 100% 100% 100% 100%
Generated in workflow #726 for commit b56a44a by the Vitest Coverage Report Action

@davelosert davelosert merged commit af7a719 into main Sep 1, 2024
5 checks passed
@davelosert davelosert deleted the feat-add-comment-on-commit branch September 1, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant