Does Codecov support out-of-order coverage uploads?

Issue

You want to know if Codecov supports uploading coverage reports in any order.

 

Applies To

  • Customers uploading both base and head coverage reports

Resolution

  1. Yes, Codecov accepts out-of-order uploads
    1. Base and head reports can be uploaded in any order.
    2. However, Codecov only compares coverage at the time the head report is uploaded.
  2. Why this matters
    1. If the base report isn’t present when the head is uploaded, Codecov may skip generating a diff.
    2. Codecov does not re-check later if the base report shows up after.
  3. Best practice
    1. Upload the base commit’s report first whenever possible.
    2. For pull requests, avoid skipping uploads for the base commit.

 

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more