Build and test using Java 25 #2863
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request Build | |
| # For pull requests: builds and test | |
| on: | |
| push: | |
| branches: | |
| - '!master' | |
| pull_request: | |
| branches: | |
| - master | |
| - 23.x | |
| - 22.x | |
| - 21.x | |
| - 20.x | |
| - 19.x | |
| permissions: # For test comment bot | |
| checks: write | |
| pull-requests: write | |
| jobs: | |
| buildAndTest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| gradle-argument: [ 'assemble && ./gradlew check -x test','testWithJava11', 'testWithJava17','testWithJava21', 'test -x testWithJava11 -x testWithJava17 -x testWithJava21' ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: gradle/actions/wrapper-validation@v5 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25' | |
| distribution: 'corretto' | |
| - name: build and test | |
| run: ./gradlew ${{matrix.gradle-argument}} --info --stacktrace | |
| - name: Publish Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2.21.0 | |
| if: always() | |
| with: | |
| files: | | |
| **/build/test-results/test/TEST-*.xml | |
| **/build/test-results/testWithJava11/TEST-*.xml | |
| **/build/test-results/testWithJava17/TEST-*.xml | |
| **/build/test-results/testWithJava21/TEST-*.xml |