generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be nice to be able to exclude some source files from coverage. A good example is https://github.com/timholy/ProfileView.jl, where the precompile.jl
file only runs when the package is being built, not when it gets tested. Coverage is at ~81% altogether, but the coverage of ProfileView.jl is ~91%, and the latter is the more accurate number.
A workaround is to move it to a separate directory, but to me the more attractive option is to exclude it from coverage analysis.
If there's someone who is willing to do the "actions" part of this, I can add a keyword to https://github.com/JuliaCI/CoverageTools.jl/blob/9d8fba371f4c65a7e9ca3bdaae753a52bcb22218/src/lcov.jl#L123
adrhill, phaverty, henry2004y, MilesCranmer, guimarqu and 1 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request