Bump version #54
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
| # This workflow will build a Java project with Maven | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
| name: Tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 2 | |
| matrix: | |
| jdk: ["8", "17", "25"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.jdk }} | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - name: MVN Install | |
| run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V | |
| - name: Build | |
| run: mvn clean compile -U | |
| - name: Unit Tests | |
| run: mvn test -Punit-tests | |
| # The integration tests exercise the client against the live API, which does not | |
| # differ per JDK - running them on every matrix entry only multiplies API rate limits. | |
| - name: Integration Tests | |
| if: matrix.jdk == '25' | |
| run: mvn test -Pintegration-tests |