Skip to content

Add single test job for windows #1

Add single test job for windows

Add single test job for windows #1

Workflow file for this run

on: [pull_request]
jobs:
tds-tests-windows:
name: TDS Tests on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build and test with Gradle on Windows
uses: Unidata/thredds-test-action@v2
with:
java-vendor: 'temurin'
java-version: 14
servletcontainer: 'tomcat9'
build-tool: 'gradlew'
test-command: '-Dtds.content.root.path=$CONTENT_DIR -Dtds.test.gretty.container=${{ servletcontainer }} --info --stacktrace testAll'

Check failure on line 16 in .github/workflows/tds_windows.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tds_windows.yml

Invalid workflow file

The workflow is not valid. .github/workflows/tds_windows.yml (Line: 16, Col: 25): Unrecognized named-value: 'servletcontainer'. Located at position 1 within expression: servletcontainer
env:
CONTENT_DIR: ${{ github.workspace }}/tds/src/test/content
- uses: actions/upload-artifact@v2
if: failure()
with:
name: tds_windows_JUnit_Results_${{ github.sha }}
path: build/reports/allTests