Skip to content

Update to thredds-test-action v3 #739

Update to thredds-test-action v3

Update to thredds-test-action v3 #739

Workflow file for this run

on: [pull_request]
permissions: {}
jobs:
tds-tests:
name: TDS Tests
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]

Check failure on line 11 in .github/workflows/tds.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tds.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
java-vendor: [ 'temurin' 'corretto' ]
servletcontainer: [ 'tomcat10' ]
steps:
- uses: actions/checkout@v4
- name: Build and test with Gradle (${{ matrix.java-vendor }} ${{ matrix.java-version }})
uses: Unidata/thredds-test-action@v3
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@v4
if: failure()
with:
name: tds_JUnit_Results_${{ github.sha }}_AdoptOpenJDK-HS-${{ matrix.java }}-${{ matrix.servletcontainer }}
path: build/reports/allTests