ci: add code coverage with Devel::Cover + Codecov - #288
Draft
toddr-bot wants to merge 1 commit into
Draft
Conversation
Add a coverage CI job that runs the test suite under Devel::Cover and uploads results to Codecov. This gives visibility into which code paths have test coverage and helps prioritize future testing work. Also bump cpanfile IO::Pty requirement from 1.08 to 1.25 to match Makefile.PL, which was updated in commit 198fb75. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add a CI job that measures Perl code coverage and reports to Codecov.
Why
Coverage visibility helps prioritize testing work and catch regressions.
The cpan-authors org already uses Codecov for XML-Parser — this brings
IPC-Run in line. CI PRs are low-risk and high-value for the project.
How
coveragejob intestsuite.ymlruns after theubuntujobDevel::CoverwithHARNESS_PERL_SWITCHESto instrument testscodecov/codecov-action@v5continue-on-error: trueon upload so missing token doesn't fail CI(updated in commit 198fb75 but cpanfile was missed)
Testing
🤖 Generated with Claude Code
Quality Report
Changes: 2 files changed, 48 insertions(+), 1 deletion(-)
Code scan: clean
Tests: failed (0 Failed, 37 tests)
Branch hygiene: clean
Generated by Kōan post-mission quality pipeline