killy971 / hpc-coveralls

coveralls.io support for haskell code coverage with hpc
http://hackage.haskell.org/package/hpc-coveralls
BSD 3-Clause "New" or "Revised" License
60 stars 20 forks source link

Allow setting custom rules #19

Open killy971 opened 10 years ago

killy971 commented 10 years ago

Add support for custom rules such as the one introduced by #3 to mark otherwise as fully covered.

jml commented 6 years ago

From what I can tell, the way to do this with hpc is to:

(see https://wiki.haskell.org/Haskell_program_coverage#Example)

I think the way I want to do this is to keep the overlays in version control and then run hpc overlay and hpc combine as part of my build process.

What I don't know is how to do this such that hpc-coveralls sends the combined output to coveralls. My own experiments are complicated by my use of stack (#47) and multiple packages (#51).