Skip to content

feat(cover): upgrade coverage reporting#166

Merged
louismerlin merged 2 commits intomainfrom
chore-coverage-reporting
Apr 15, 2026
Merged

feat(cover): upgrade coverage reporting#166
louismerlin merged 2 commits intomainfrom
chore-coverage-reporting

Conversation

@chris-srlabs
Copy link
Copy Markdown
Collaborator

Every report type's output get written into the coverage output directory, this way nothing can clash for multiple formats. The argument for this type does not use a comma separated list anymore, but now can be specified multiple times. The sources argument is not needed anymore.

closes #164

Switch away from grcov by using llvm_profdata (merging *.profraw
files) and llvm_cov (report generation).
@chris-srlabs
Copy link
Copy Markdown
Collaborator Author

may test locally using cargo install --force --git https://github.com/srlabs/ziggy --branch chore-coverage-reporting ziggy

@chris-srlabs
Copy link
Copy Markdown
Collaborator Author

@vanhauser-thc regarding #164 is anything missing?

@vanhauser-thc
Copy link
Copy Markdown
Collaborator

looks great!
It needs documentation though - how does a user specify to generate an html or a text report? needs to be in the readme :-)

@louismerlin this will impact your new stability sub command I think?

@chris-srlabs chris-srlabs force-pushed the chore-coverage-reporting branch from 49db7c5 to 70dd00f Compare April 14, 2026 12:24
@louismerlin
Copy link
Copy Markdown
Collaborator

Should be ok :) @chris-srlabs let me know when this pr is ready for review.

@louismerlin louismerlin merged commit 278c0f8 into main Apr 15, 2026
4 checks passed
@louismerlin louismerlin deleted the chore-coverage-reporting branch April 15, 2026 10:03
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.

Upgrade coverage reporting

3 participants