hpc-coveralls icon indicating copy to clipboard operation
hpc-coveralls copied to clipboard

Allow setting custom rules

Open killy971 opened this issue 11 years ago • 1 comments

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

killy971 avatar Jun 25 '14 13:06 killy971

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

  • create an overlay using hpc draft
  • edit that overlay to say how you want coverage to go
  • turn that into a tix file with hpc overlay
  • combine the tix file with the other coverage output

(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).

jml avatar Feb 07 '18 06:02 jml