-
Notifications
You must be signed in to change notification settings - Fork 27
28 lines (26 loc) · 1017 Bytes
/
tds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
on: [pull_request]
jobs:
tds-tests:
name: TDS Tests
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]
java-vendor: [ 'temurin' ]
servletcontainer: [ 'tomcat10' ]
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@v4
if: failure()
with:
name: tds_JUnit_Results_${{ github.sha }}_AdoptOpenJDK-HS-${{ matrix.java }}-${{ matrix.servletcontainer }}
path: build/reports/allTests