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

refactor: remove runner attribute from create_jvm_test_suite #289

Conversation

francine-blanc
Copy link
Contributor

In create_jvm_test_suite.bzl, the runner attribute is not utilised within the define_test function. By the time we reach the create_jvm_test_suite macro, this attribute is redundant because the specific test runner can be directly specified within the define_test function provided by the user. So, this PR removes references to the runner from the macro.

Copy link
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

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

Thank you! LGTM

@francine-blanc francine-blanc force-pushed the remove-runner-attr-from-create-jvm-test-suite-macro branch from cfeb190 to 9f4b528 Compare July 15, 2024 08:01
@sitaktif
Copy link

A consequence of this changes is that for existing users, the runner attribute is now going to be passed to the define_test function (via kwargs). Just checking that this change is intended and that it's acceptable in terms of backward incompatibility.

@shs96c
Copy link
Collaborator

shs96c commented Jul 15, 2024 via email

@francine-blanc
Copy link
Contributor Author

@shs96c would you be able to trigger the pipeline again please?

@gibfahn gibfahn merged commit 2393517 into bazel-contrib:main Jul 15, 2024
8 checks passed
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.

4 participants