forked from Unidata/threddsIso
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 878 Bytes
/
threddsIso-tests.yml
File metadata and controls
29 lines (27 loc) · 878 Bytes
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
on: [pull_request]
jobs:
tests:
name: threddsIso Tests
runs-on: ubuntu-latest
strategy:
matrix:
# test against latest 17 and 21
distribution: [zulu, adopt]
java: [ 17, 21 ]
profile: [ dev, prod ]
steps:
- uses: actions/checkout@v4
- name: Setup java ${{ matrix.java }}i (${{ matrix.distribution }})
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build and test with Maven
run: mvn clean verify -DskipTests=false -P ${{ matrix.profile }}