You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(coverage): harden diff-cover step and handle non-Java PRs
- Drop the unreachable PR_XMLS empty-check; collect-xml already exits 1
when jacoco reports are missing, and the previous `exit 0` would have
left changed_line_coverage unset and triggered a misleading
"Failed to parse changed-line coverage" in the enforcement step.
- Parse total_num_lines from diff-cover.json: when a PR has no changed
Java source lines (workflow-only, docs-only, proto-only), emit the
sentinel NA and treat it as SKIPPED in the enforcement step so the
gate does not wrongly fail.
- Display NA without a trailing %% in the step summary and logs.
Addresses review comments from CodeRabbit and cubic on PR #23.
0 commit comments