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
Run CI on Java 17 #2417
Run CI on Java 17 #2417
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2417 +/- ##
============================================
+ Coverage 85.45% 86.57% +1.12%
+ Complexity 2799 2762 -37
============================================
Files 330 318 -12
Lines 8478 8299 -179
Branches 1026 1015 -11
============================================
- Hits 7245 7185 -60
+ Misses 955 841 -114
+ Partials 278 273 -5
Continue to review full report at Codecov.
|
@@ -34,6 +35,7 @@ public void is_type_mockable_excludes_primitive_wrapper_classes() { | |||
} | |||
|
|||
@Test | |||
@Ignore("Broken on JDK 17") |
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.
We were only running this on 17, but it seems to be failing anyways 😢
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.
Fixed the test!
The CodeCov diff now shows we are correctly using the Java 16+ codepath for invoking the relevant proxy method in the proxy mockmaker. So everything is working as expected and we have more code coverage 🎉 |
@raphw Do you mind taking a look at the disabled test and let me know if that is intended? |
.github/workflows/ci.yml
Outdated
@@ -26,7 +26,7 @@ jobs: | |||
# Definition of the build matrix | |||
strategy: | |||
matrix: | |||
java: [8, 11, 15] | |||
java: [8, 11, 17-ea] |
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.
Should be without ea now.
@@ -34,6 +35,7 @@ public void is_type_mockable_excludes_primitive_wrapper_classes() { | |||
} | |||
|
|||
@Test | |||
@Ignore("Broken on JDK 17") |
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.
Fixed the test!
Let's see how far we can get.