Closed santisoler closed 1 month ago
I think we can. We would just have to name each artifact differently and then download them all and pushed them all in a single job. Does it make sense?
👍🏾
Done! Now all runners upload the coverage.xml
file as a separate artifact, and the codecov-upload
job downloads them all and pushes them all together to Codecov in a single run (lowering the hits to their servers).
Let me know if you like it. I'm looking forward to try this out on a PR opened from a fork.
Remove the push to codecov step from the
test
job into a new job that depends on the test job. Upload the coverage reports as artifacts after testing, and reuse the artifacts in the new job. Upload all coverage reports in a single push to Codecov to minimize the number of hits.Relevant issues/PRs:
Related to fatiando/community#151