-
Notifications
You must be signed in to change notification settings - Fork 21
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 file-coverage-root-path option to customize coverage report paths #444
Conversation
Copilot
AI
left a comment
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.
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 suggestion.
Files not reviewed (1)
- src/index.ts: Evaluated as low risk
Tip: Leave feedback on Copilot's review comments with the 👎 and 👍 buttons to help improve review quality. Learn more
Coverage Report
File Coverage |
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.
Copilot reviewed 5 out of 6 changed files in this pull request and generated no suggestions.
Files not reviewed (1)
- src/index.ts: Evaluated as low risk
Tip: Turn on automatic Copilot reviews for this repository to get quick feedback on every pull request. Learn more
# [2.8.0](v2.7.0...v2.8.0) (2024-11-17) ### Features * Add file-coverage-root-path option to customize filer coverage report paths ([#444](#444)) ([41d0c9e](41d0c9e))
🎉 This PR is included in version 2.8.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Change Summary
This pull request introduces a new option to specify the root path for the file coverage reports, allowing for better handling the scenario where the reports were generated in a different context (e.g. a Docker container) where the included absolute file-paths differ from the current workspace of the runner.
Fixes #428 .
New Feature: File Coverage Root Path
file-coverage-root-path
option toaction.yml
to specify the root path of the files within the coverage reports.README.md
to include the newfile-coverage-root-path
option in the documentation.src/index.ts
to pass thefileCoverageRootPath
option to therun
function.src/inputs/options.ts
to read thefile-coverage-root-path
input and include it in theOptions
type. [1] [2] [3]src/report/generateFileCoverageHtml.ts
and its tests to utilize theworkspacePath
parameter for generating file coverage HTML. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]