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
Java: Add Android Gradle Plugin 8 and Spring Boot 3 tests #16336
Conversation
f5e6951
to
beb3cbc
Compare
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.
Reviewed this as part of the associated, internal PR. Nice to have some integration tests for this! Couple of questions:
- The two new integration tests include the
.gradle
folder. Is that intentional? If so why? Other integration tests that use Gradle don't seem to do this. - It may be useful to add a comment before the use of
try_use_java11()
to note why this is necessary. Particularly, it's not immediately obvious what impact this has on the version selection logic and how it affects the test outcome when compared to what may be happening in users' workflows.
import sys | ||
import tempfile | ||
|
||
def actions_expose_all_toolchains(): |
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.
This is a really nice addition for testing!
beb3cbc
to
63fa719
Compare
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.
Thanks for addressing my comments. This seems fine as is now, with one minor suggestion for improvement, but up to you if you want to act on it here / in a different PR / at all.
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.
Minor: bit odd to have such a comprehensive .gitignore
specifically for this test. Consider moving it up to the most distant ancestor of this directory where it makes sense.
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.
These things are generated by Gradle wrapper installation-- you can see quite a few in the test directories for this reason
4d8e9c1
to
bfb291c
Compare
QHelp previews: |
bfb291c
to
942df38
Compare
942df38
to
a50584c
Compare
No description provided.