Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting custom rules #19

Open
killy971 opened this issue Jun 25, 2014 · 1 comment
Open

Allow setting custom rules #19

killy971 opened this issue Jun 25, 2014 · 1 comment

Comments

@killy971
Copy link
Owner

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

@jml
Copy link

jml commented Feb 7, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants