Skip to content

Add generic missed-path coverage reporting#421

Open
Marius Storhaug (MariusStorhaug) wants to merge 6 commits into
mainfrom
coverage-missed-paths-upstream
Open

Add generic missed-path coverage reporting#421
Marius Storhaug (MariusStorhaug) wants to merge 6 commits into
mainfrom
coverage-missed-paths-upstream

Conversation

@MariusStorhaug

Copy link
Copy Markdown
Member

Summary

Adds missed-path reporting to the upstream Process-PSModule coverage flow so consumer repositories do not need repo-local post-coverage jobs.

Changes

  • Extended .github/actions/Get-PesterCodeCoverage to generate a generic missed-path report from merged coverage data.
  • Added a Missed paths section to the code coverage step summary.
  • Emit CodeCoverage-MissedPaths.md and CodeCoverage-MissedPaths.json under CodeCoverage-MissedPaths/.
  • Upload CodeCoverage-MissedPaths as an artifact in .github/workflows/Get-CodeCoverage.yml.

Notes

  • The implementation intentionally avoids repo-specific heuristics and groups misses by file path and missed line coverage.
  • Artifact upload runs with if: always() so the report is still available when coverage threshold enforcement fails.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Pass ✅
NATURAL_LANGUAGE Pass ✅
POWERSHELL Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MariusStorhaug
Marius Storhaug (MariusStorhaug) marked this pull request as ready for review July 26, 2026 13:39
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