Hi everyone, I'm just getting started, but got this error: hpc-coveralls: Couldn't find the file dist/hpc/tix/spec/spec.tix . How should this file get generated? Thank you for this library :)
Guillaume Nargeot
@guillaume-nargeot
Can you please tell me your repo name?
I will look into this issue tonight.
Athan Clark
@athanclark
@guillaume-nargeot - it actually magically fixed itself... I'm not sure how. But it's https://github.com/athanclark/urlpath if you're still interested :) Thank you so much
Guillaume Nargeot
@guillaume-nargeot
Can you also tell me which build triggered this error?
Hi, anyone know the source of this message? hpc-coveralls: can not find ghcex_ClgBsOkTMOqIcxs7uSSDoM/Language.Haskell.GHC.ExactPrint.Lookup in ["dist/hpc/vanilla/mix/ghcex_ClgBsOkTMOqIcxs7uSSDoM/"]
Guillaume Nargeot
@guillaume-nargeot
Hi, it's a known problem which occurs when using cabal 1.22
See this issue guillaume-nargeot/hpc-coveralls#44
I don't know yet why the modName (here, the first string you mentioned) is not correct in the tix file generated by hpc... and I have not had time to investigate further.
actually, I'm a bit confused, it's been a while since I last investigated this,
Guillaume Nargeot
@guillaume-nargeot
in any case, I've not came up yet with any simple workaround,
I would suggest to comment out hpc-coveralls usage in your project for the moment, and I can contact you once this is fixed
Matthew Pickering
@mpickering
thanks
MichaĆ J. Gajda
@mgajda
Hi Guillaume, how to give repo token to hpc-coveralls without revealing it to the public? i thought that contents of public repo are all public.
Guillaume Nargeot
@guillaume-nargeot
If your repo is public, I think it will be difficult... I'm open to suggestions!
iphydf
@iphydf
$ hpc-coveralls test-tox
Couldn't find the file dist/hpc/tix/test-tox/test-tox.tix
Dumping dist/hpc/ directory tree:
You can get support at https://gitter.im/guillaume-nargeot/hpc-coveralls
(on travis)
I used cabal configure --enable-tests --enable-coverage
it's looking for the wrong file name, how do I tell it the right one?
@guillaume-nargeot it's calling getTixFileName, which apparently removes the .1 for some reason
iphydf
@iphydf
what's the recommended way to report coverage when you have multiple test-suites?
Alexander Todorov
@atodorov
hi folks, I am trying to generate Haskell coverage report for a project in Travis CI. I have cabal install --enable-tests --enable-coverage && cabal test but it doesn't seem like coverage data has been generated. Anyone has an idea what's wrong ?