-
Notifications
You must be signed in to change notification settings - Fork 848
Coverage report doesn't consider any code #1224
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
Comments
Related: #1181. |
Here is real Cabal file I'm working with: https://github.com/mrkkrp/megaparsec/blob/master/megaparsec.cabal I tried to make all flags the same to avoid possible recompilation, then rebuilt, re-tested it and result is the same anyway. I've tried everything, it doesn't work. |
@mgsloan, No success, I'm seeing the same error. I've updated |
@mgsloan, After some editing of source code of the test suite it now works! Might it be the case that my editing triggered some sort of cache refreshing or something? This seems to work now. I'll experiment more to confirm that the result is reproducible from now on. Thank you again. |
Yes, this is resolved. Closing. |
Previously with the same Cabal file I could get coverage report using Cabal. With Stack I'm getting:
I think it should. GHC options are identical for all components of my package. There is no need for test suite to rebuild the library. After all, if Cabal can generate the report, Stack should be able to do it given the same Cabal config or am I mistaken?
The text was updated successfully, but these errors were encountered: