Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect all coverage data at once #3537

Merged
merged 13 commits into from
Oct 26, 2023

Conversation

peternied
Copy link
Member

@peternied peternied commented Oct 13, 2023

Description

Collect all coverage data at once - should reduce throttling by GitHub APIs when coverage data is proceeded. Will only report code coverage once all the other tests have finished running ensuring accurate reporting.

Also speed up normal test flows by changing how artifacts are uploaded, the actions/upload-artifacts action was taking 2-3 mins to copy files, now its down to a couple of seconds.

Issues

Testing

Manually verification against codecov website

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

peternied and others added 13 commits October 13, 2023 19:42
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
…single-coverage-upload

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
@DarshitChanpura
Copy link
Member

@peternied Should this be marked as ready for review?

@peternied peternied merged commit 9c25cfe into opensearch-project:main Oct 26, 2023
56 checks passed
@peternied peternied deleted the single-coverage-upload branch October 26, 2023 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Code Coverage is broken
4 participants