I have a coveralls account that I would like to integrate with CircleCI for code coverage. My issue is that I don’t know how to do this since I read somewhere in the Circle CI documentation that it can provide code coverage, but I don’t know how to do this.
Could someone direct me on how to integrate Coveralls into my project for code coverage or use CircleCI code coverage tools (if it is available)?
Thanks.
I don’t know this tool, but I imagine it is a binary that you run in your project directory, possibly also pointing it to a configuration file. If so, using it in CI will be much the same as using it locally.
When you use it locally, does it upload its coverage data to your Coveralls account? What is the output it produces?
I’d say that getting it installed in a run step is the first thing to try.
Well for starters I’ve been spending quite a lot of time trying to integrate both, but I’ve been unsuccessful. So no, it doesn’t upload coverage data to Coveralls and thus no ouput.
I think we might be talking at cross-purposes. I was wondering how Coveralls is meant to work. Does it work on your dev machine in front of you (including uploading results to wherever they should go)?
If you don’t yet have it working locally, I’d suggest doing that first - there may be some config that it needs to work at all.