dongjoon-hyun opened a new pull request, #956:
URL: https://github.com/apache/spark-kubernetes-operator/pull/956

   ### What changes were proposed in this pull request?
   
   This PR aims to run the `build-test` CI unit tests on each matrix JDK (21 / 
25 / 26 / 27) instead of repeating the full build in every leg.
   
   - Add an opt-in Gradle property, `-PtestJavaVersion=<N>`, to run the `test` 
tasks on JDK `<N>`. Compilation still uses the JDK 27 toolchain.
   - Run `./gradlew test -PtestJavaVersion=${{ matrix.java-version }}` instead 
of `./gradlew build` in the `build-test` matrix. The linters keep running once 
in the `lint` job.
   
   ### Why are the changes needed?
   
   Currently, all matrix legs run the unit tests on the auto-provisioned JDK 27 
toolchain, so Java 21, 25, and 26 are never tested. Also, every leg repeats the 
linters, which already run in the `lint` job.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. The default behavior is unchanged without the new property.
   
   ### How was this patch tested?
   
   Pass the CIs. I also verified locally that all unit tests pass on JDK 21, 
25, and 26 with the new property.
   
   ```
   $ ./gradlew test -PtestJavaVersion=21
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to