Request for adding exclusion settings to the config file.
unageek opened this issue · 1 comments
unageek commented
Do the checklist before filing an issue:
- Is this related to the
actions-rs
Actions?
If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community - You've read the Contributing section about feature requests: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#feature-requests
- Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
Motivation
I want the --excl-*
options added in grcov v0.5.14 (mozilla/grcov#416) to be mapped to grcov.yml so that one can exclude #[derive(...)]
, mod tests { ... }
, etc. from coverage analysis.
grcov.yml
excl-line: "#\\[derive\\("
excl-br-line: "#\\[derive\\("
excl-start: "mod tests \\{"
excl-br-start: "mod tests \\{"
droundy commented
I like this feature, and would love (if it's implemented) to have a solid documented example of a set of exclusions (similar to what you give) that would exclude derive code and tests.