Skip to content

Conversation

@udim
Copy link
Member

@udim udim commented Aug 25, 2020

Also sets up Python code coverage status.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Dataflow Flink Samza Spark Twister2
Go Build Status --- Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status --- Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace
Non-portable Build Status Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status
Portable --- Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

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.
@udim
Copy link
Member Author

udim commented Aug 26, 2020

CC: @SaavanNanavati fingers crossed that this works

method: no
macro: no

# Do not comment on PRs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not?

Copy link
Member Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay, nice

@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #12684 into master will increase coverage by 6.23%.
The diff coverage is n/a.

Impacted file tree graph

@@            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     
Impacted Files Coverage Δ
utils/windowed_value_test.py
runners/interactive/interactive_beam.py
utils/plugin.py
runners/portability/spark_runner.py
runners/portability/flink_uber_jar_job_server.py
transforms/sql.py
examples/wordcount_xlang_sql.py
runners/direct/direct_metrics_test.py
...ners/portability/spark_uber_jar_job_server_test.py
typehints/typed_pipeline_test_py3.py
... and 1130 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdb71bc...14d79b1. Read the comment docs.

@udim
Copy link
Member Author

udim commented Aug 26, 2020

R: @SaavanNanavati (lmk if you have time to review)

@udim
Copy link
Member Author

udim commented Aug 26, 2020

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=.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

@saavan-google
Copy link
Contributor

LGTM

I didn't know you could put the codecov.yml file inside the .github folder, that's cool.

@udim udim merged commit eb9b93f into apache:master Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants