Code coverage and parallel builds



I’m currently moving a build from v1 to v2, which is more or less working okay. The build has parallelism enabled and we use CodeClimate for coverage, but it’s not clear how to merge the coverage data before sending it across.

With v1 we used a script that would pull the coverage data from each node (via SSH) and then push it up to CodeClimate as a post step after merging all of the .resultset.json files.

I’ve currently got the build set up to copy those JSON files into an artifacts dir, but it looks as if I would have to call the API to download them. I’m not sure if that’s the right way to go.

Has anyone tried to do this with the 2.0 format who can offer some advice?

Thank you :slight_smile:

CircleCI 2.0, parallel builds and simplecov

Here’s the solution, for anyone who needs it:


Have you tried using the codeclimate_circle_ci_coverage gem with Circle 2.0?


This would imply the current version of that gem does not support circle 2.0


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.