Merge pull request #34 from openpatch/changeset #38
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: Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Java | |
| # The library is still built for 17 (maven.compiler.release), but the | |
| # tests that compile the documentation's interactive examples need a | |
| # compiler that understands them: they are Java 25 compact source files, | |
| # and on an older JDK those two tests can only skip. | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 25 | |
| cache: maven | |
| - name: Run tests | |
| run: mvn -B test |