Guide on how to handle coverage files with specific test rerun

I am interested in using the specific test rerun functionality, yet I am a bit confused on how I can gather the output of the coverage so that if I run a rerun on, let say, a single test, I can get the coverage for the all test suite in the end.
Does anyone can give me pointers or an example config.yml that illustrate that usage?

Double-check in the docs, but IIRC it’s a documented limitation that this doesn’t work… understandable, but one reason I haven’t looked into the feature much yet.

There is an example in this section for how to handle this scenario: Rerun failed tests - CircleCI, see “Jobs that upload code coverage reports” bullet point

1 Like