-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-10701] Add codecov config, fix paths hopefully #12684
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
Conversation
Make it so that "apache_beam" is in the path, and also fix that path to be "sdks/python/apache_beam". Ignore the targets/ directory which has virtualenvs.
|
CC: @SaavanNanavati fingers crossed that this works |
.github/codecov.yml
Outdated
| method: no | ||
| macro: no | ||
|
|
||
| # Do not comment on PRs. |
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.
Why not?
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.
It used used to be spammy (1 message per push), but now it seems to be editing the original message so not that bad.
I am reconsidering.
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.
Oh okay, nice
Codecov Report
@@ Coverage Diff @@
## master #12684 +/- ##
==========================================
+ Coverage 34.34% 40.57% +6.23%
==========================================
Files 692 448 -244
Lines 81948 52831 -29117
Branches 9263 0 -9263
==========================================
- Hits 28144 21437 -6707
+ Misses 53374 31394 -21980
+ Partials 430 0 -430 Continue to review full report at Codecov.
|
|
R: @SaavanNanavati (lmk if you have time to review) |
|
also R: @tysonjh |
| extras = test,gcp,interactive,aws | ||
| commands = | ||
| {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}" --cov-report=xml:codecov.xml --cov=apache_beam | ||
| {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}" --cov-report=xml:codecov.xml --cov=. |
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.
Why this change?
|
LGTM I didn't know you could put the |
Also sets up Python code coverage status.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.