Conversation
Signed-off-by: Josiah Noel <32279667+SentryMan@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #766 +/- ##
=======================================
Coverage 87.21% 87.21%
=======================================
Files 99 99
Lines 2942 2942
Branches 229 229
=======================================
Hits 2566 2566
Misses 329 329
Partials 47 47 |
Signed-off-by: Josiah Noel <32279667+SentryMan@users.noreply.github.com>
Signed-off-by: Josiah Noel <32279667+SentryMan@users.noreply.github.com>
Signed-off-by: Josiah Noel <32279667+SentryMan@users.noreply.github.com>
|
Well I suppose it's only natural lombok would fail the EA build since they don't support a JDK until after it becomes GA |
Signed-off-by: Josiah Noel <32279667+SentryMan@users.noreply.github.com>
|
We could update the Lombok example with a selector.groovy that filters out EA builds if you are able to determine that. // src/it/lombok/selector.groovy
if (thisIsAnEaBuild()) {
println("Lombok is not supported in EA builds")
return false
}
return truethat'd allow you to keep this enabled. Maven Invoker would detect this automatically and just skip that test when it is detected. Edit: example: https://github.com/ascopes/protobuf-maven-plugin/blob/main/protobuf-maven-plugin/src/it/scalapb-plugin/selector.groovy |
|
it's both lombok and error prone |
|
Yeah, thought that'd be a problem. Do you know if the JDK has any descriptor of the version being early access (e g. in the Runtime.version() API)? |
|
running System.out.println(Runtime.version());gives me |
|
Wonder if it is worth checking that with a regex just to disable the specific tests that are problematic... what do you think? Is testing against EA likely to provide additional benefit do you think? |
|
you can catch potential issues before they happen and notify the JDK devs before GA if it's a JDK problem |
|
Might be worth adding then! I can take a look when I have some time unless you'd like to add it to this PR. Thanks for fixing on such short notice, btw. |
Also add maven cache