forked from Unidata/tds
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.34 KB
/
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
28
29
30
31
32
33
34
35
36
on: [pull_request]
jobs:
tds-tests:
name: TDS Tests
runs-on: ubuntu-latest
strategy:
matrix:
# test against latest 11, 14 of zulu and 11 of temurin java
java-version: [ 11 ]
java-vendor: [ 'zulu', 'temurin' ]
# test against tomcat 8.5.x and tomcat 9.x
servletcontainer: [ 'tomcat85', 'tomcat9' ]
include:
- java-version: 14
java-vendor: 'zulu'
servletcontainer: 'tomcat85'
- java-version: 14
java-vendor: 'zulu'
servletcontainer: '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