Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 24 20:02
    AlexMouton commented #81
  • Mar 19 00:35
    bgamari commented #80
  • Jan 08 05:23
    endgame opened #82
  • Dec 24 2018 21:31
    coveralls commented #81
  • Dec 24 2018 21:31
    coveralls commented #81
  • Dec 24 2018 21:31
    coveralls commented #81
  • Dec 24 2018 20:58
    bgamari opened #81
  • Dec 24 2018 05:57
    coveralls commented #80
  • Dec 24 2018 05:34
    coveralls commented #80
  • Dec 24 2018 05:34
    coveralls commented #80
  • Dec 24 2018 05:20
    bgamari edited #80
  • Dec 24 2018 05:19
    bgamari edited #80
  • Dec 24 2018 05:19
    bgamari edited #80
  • Dec 24 2018 05:18
    bgamari synchronize #80
  • Dec 24 2018 05:16
    bgamari edited #80
  • Dec 24 2018 05:16
    bgamari synchronize #80
  • Dec 24 2018 05:10
    bgamari opened #80
  • Dec 24 2018 05:09
  • Nov 25 2018 04:59
    coveralls commented #79
Athan Clark
@athanclark
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?
Athan Clark
@athanclark
@guillaume-nargeot But... but... just look at my wonderful library! (sorry I'm an idiot) https://travis-ci.org/athanclark/urlpath/builds/44489254#L367
Guillaume Nargeot
@guillaume-nargeot
I'll check it out ;)
Jakub Kozlowski
@jkozlowski
Guillaume Nargeot
@guillaume-nargeot
Thank you very much!
Matthew Pickering
@mpickering
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
iphydf
@iphydf
ok, fixed that (needed --enable-library-coverage), but now I get ?% as coverage: https://coveralls.io/jobs/12224619
@mgajda use "secret" env in travis
iphydf
@iphydf
hi, I get this on travis now:
$ hpc-coveralls hstox-0.0.1
Couldn't find the file dist/hpc/tix/hstox-0.0.1/hstox-0.0.tix
Dumping dist/hpc/ directory tree:
[...]
dist/hpc/tix/hstox-0.0.1/hstox-0.0.1.tix
[...]
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 ?
Guillaume Nargeot
@guillaume-nargeot
Can you link me to an example of the problem
@atodorov
Alexander Todorov
@atodorov
@guillaume-nargeot ping, are you around ?
I've managed to figure out how to collect coverage for executables, not libraries and at some point I've got it working, i.e. hpc-coveralls reporting coverage for the source files which define the main function of my executables. However for some reason this has stopped working and I'm trying to figure out why
build #100 is the one which seems to have been working https://travis-ci.org/weldr/bdcs/builds/254573293 (look for tools/import.hs and tools/export.hs in the coverage json). other builds seem to not include these files. I also have the last build (#156) which takes care to update some file names but still no luck
Alexander Todorov
@atodorov
btw the same commands I have in my .travis.yml work as expected when I execute them locally on my computer, that is I can see the tools/*.hs files in the JSON report