You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test tasks aren't being re-run when the JDK changes. This might either be because Gradle thinks they're up to date, or because the JDK isn't changing (so the caching is correct).
I'd be surprised if the JDK version wasn't registered as a task input by Gradle, but it's possible. It think it's more likely that the GHA isn't properly changing the JDK.
There's also a javaToolchainMainVersion and a javaToolchainTestVersion but at first glance I only see the test version change in the matrix (which might be the reason for this error):
> Task :test-modules:performance-tests:compileKotlin FAILED
e: /home/runner/work/mockk/mockk/test-modules/performance-tests/src/main/kotlin/io/mockk/performance/JmhTest.kt: (27, 40): Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option
The test tasks aren't being re-run when the JDK changes. This might either be because Gradle thinks they're up to date, or because the JDK isn't changing (so the caching is correct).
https://github.com/stuebingerb/mockk/runs/8245418795?check_suite_focus=true#step:5:462
I'd be surprised if the JDK version wasn't registered as a task input by Gradle, but it's possible. It think it's more likely that the GHA isn't properly changing the JDK.
Originally found by @stuebingerb in #916 (comment)
Related #914
The text was updated successfully, but these errors were encountered: