Update to JDK 17 #670
Workflow file for this run
This file contains 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
on: [pull_request] | |
jobs: | |
tds-tests: | |
name: TDS Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 17 ] | |
java-vendor: [ 'temurin' ] | |
# test against tomcat 8.5.x and tomcat 9.x | |
servletcontainer: [ 'tomcat85', 'tomcat9' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and test with Gradle (${{ matrix.java-vendor }} ${{ matrix.java-version }}) | |
uses: Unidata/thredds-test-action@v2 | |
with: | |
java-vendor: ${{ matrix.java-vendor }} | |
java-version: ${{ matrix.java-version }} | |
build-tool: 'gradlew' | |
test-command: '-Dtds.content.root.path=$CONTENT_DIR -Dtds.test.gretty.container=${{ matrix.servletcontainer }} --info --stacktrace testAll' | |
env: | |
CONTENT_DIR: ${{ github.workspace }}/tds/src/test/content | |
- uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: tds_JUnit_Results_${{ github.sha }}_AdoptOpenJDK-HS-${{ matrix.java }}-${{ matrix.servletcontainer }} | |
path: build/reports/allTests | |