-
Notifications
You must be signed in to change notification settings - Fork 206
25 lines (25 loc) · 822 Bytes
/
test.yml
File metadata and controls
25 lines (25 loc) · 822 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
name: Run tests
on: [push, pull_request]
permissions: {}
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
distribution: ['zulu']
os: [ubuntu-latest, windows-latest, macos-latest]
version: [ 17, 21, 24 ]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
persist-credentials: false
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.version }}
- run: mvn test -B
# This is after the test run to work around
# https://issues.apache.org/jira/projects/MJAVADOC/issues/MJAVADOC-736
- run: mvn javadoc:javadoc