You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to get coverage reporting working with parallel testing on Heroku CI. Parallel testing on HerokuCI works by distributing the tests across multiple dynos each with their own ephemeral filesystem.
I could upload the test results to S3 as you suggest, but Heroku CI lacks a way to run a command when all the CI dynos have completed. I can't find where to put the command to sum-coverage and upload-coverage after all dynos have finished running (I'll contact support to ask).
Rather than having to push partial results to S3 and sum them, would it be possible to use cc-test-reporter to upload partial test reports directly to CC? For example, if I have 4 dynos running my tests in parallel I would do:
Hi, I'm trying to get coverage reporting working with parallel testing on Heroku CI. Parallel testing on HerokuCI works by distributing the tests across multiple dynos each with their own ephemeral filesystem.
I could upload the test results to S3 as you suggest, but Heroku CI lacks a way to run a command when all the CI dynos have completed. I can't find where to put the command to sum-coverage and upload-coverage after all dynos have finished running (I'll contact support to ask).
Rather than having to push partial results to S3 and sum them, would it be possible to use cc-test-reporter to upload partial test reports directly to CC? For example, if I have 4 dynos running my tests in parallel I would do:
Then Code Climate knows it has received, for example, part 3 of 4. Once it's received all 4 parts it does the sum itself.
This would make setting up distributed testing easier.
The text was updated successfully, but these errors were encountered: