Skip to content

Commit

Permalink
Add single test job for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tara Drwenski committed Feb 26, 2024
1 parent def5377 commit 1c5e2ee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tds_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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
build-tool: 'gradlew'
test-command: '-Dtds.content.root.path=$CONTENT_DIR -Dtds.test.gretty.container=tomcat9 --info --stacktrace testAll'
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

0 comments on commit 1c5e2ee

Please sign in to comment.