-
Notifications
You must be signed in to change notification settings - Fork 169
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
build: Upload test reports and coverage #163
Conversation
Welcome to Codecov 🎉Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment. Thanks for integrating Codecov - We've got you covered ☂️ |
cc @sunchao |
Test coverage for rust is not included in this PR. Maybe we can enable that later or not since there's not that much unit test code in the rust side.. We may have to find a way to generate rust coverage from Spark side's tests. |
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.
LGTM, thanks @advancedxy !
I think we can use
cc @snmvaughan |
There are some merge conflicts. Please try to rebase this @advancedxy and I'll merge it afterwards. |
There's also other coverage tool for rust, for example: arrow-rs uses tarpaulin in https://github.com/apache/arrow-rs/blob/master/.github/workflows/coverage.yml. We can leverage it too. What I mean was since most of the test code are written in Spark's side, it would be ideal that after running tests on the JVM/Spark side, the test coverage for the native comet lib is generated automatically. |
I see what you mean. Not sure whether this is possible. |
Merged, thanks! |
It might be possible, see https://stackoverflow.com/questions/70410715/how-to-collect-rust-code-coverage-when-running-remote-tests and https://rustc-dev-guide.rust-lang.org/llvm-coverage-instrumentation.html for related approaches. But I think it's in a low priority and we can always evaluate that when needed. |
Which issue does this PR close?
Partially closes #120
Rationale for this change
Upload test reports and test coverage reports so that it could be accessed after workflow runs.
What changes are included in this PR?
MAVEN_OPTS
tomaven_opts
which is more consistent with othersHow are these changes tested?
existing CI runs.