-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Configure Codecov #19936
Configure Codecov #19936
Conversation
Previously it was applied only to the merged report.
📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
|
This reverts commit a4b61e7.
This reverts commit 142c92d.
This reverts commit 2c1f5d8.
To disable PR checks on GitHub. `max_report_age: off` has this context: woocommerce/woocommerce-android#6251
Generated by 🚫 dangerJS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, @wzieba! 🙇
I could visit the dashboard and confirm there was coverage reported for WordPress
, :libs:image-editor
and :libs:processors
.
comments on each PR reporting code coverage diff(...)
I assume this would only be visible after being merged to trunk
.
Why use CODECOV_TOKEN if WordPress-Android is a public repository?
Thanks for being one step ahead and for sharing the context! 🙇
Everything looks good to me.
Description
This PR integrates Codecov. By this, we'll have:
To Test:
WordPress
:libs:image-editor
:libs:processors
It's double-check. From what I've browsed, all seems fine. Also, each job on Buildkite reports successful report upload to Codecov.
Decission log
Why specify the report file directly?
Codecov couldn't find reports if they were named differently than
report.xml
. So initially, it worked only for a JVM module (:lib:processors
) but didn't work for e.g.WordPress
, because the report file is namedreportWordpressVanillaRelease.xml
.Why use
CODECOV_TOKEN
if WordPress-Android is a public repository?It's possible to use Codecov uploader without specifing a token if repository is open source. This approach is flaky though and results with often upload failures. Details are available in this comment and thread: codecov/codecov-action#557 (comment)