Skip to content

Best practices for per-platform + cross-platform coverage ? #560

Answered by jerrodcodecov
HadrienG2 asked this question in Q&A
Discussion options

You must be logged in to vote

But the GitHub action UX during a CI run is more than a little confusing because there is first a report of loss of coverage as the run for the first platform completes, then that report is later corrected as the run for the second platform completes.

Check out after_n_builds and set the field to "2" so that it always waits for both flags:
https://docs.codecov.com/docs/pull-request-comments#after_n_builds-for-flags

Also I think the codecov action status reports stays red even after this second run has completed, but that might be for unrelated reasons.

Can't comment on this one without seeing the repo, is it OSS?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HadrienG2
Comment options

Answer selected by HadrienG2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants