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

Exclude protogen from code coverage reports #3151

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arnaud-lacurie
Copy link
Collaborator

No description provided.

@@ -85,7 +85,8 @@ tasks.register('codeCoverageReport', JacocoReport) {
def exclusions = [
"**/*Proto.class", "**/*Proto\$*.class",
"**/planprotos/*", "**/eventprotos/*",
"**/generated/*", "**/grpc/v1/**/*"
"**/generated/*", "**/grpc/v1/**/*",
"**/protogen/*"
Copy link
Collaborator

Choose a reason for hiding this comment

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

These are class / package names, not build source directory names. What classes have protogen in their package name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ha! In that case, this won't work.
This is from com.apple.foundationdb.relational.continuation.
Basically the classes defined in https://github.com/FoundationDB/fdb-record-layer/blob/main/fdb-relational-core/src/main/proto/continuation.proto

Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess there isn't anything more distinctive than the class name itself. Though perhaps renaming it to have Proto in it would be worth considering.

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.

2 participants