-
-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (32 loc) · 910 Bytes
/
test.yaml
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
37
38
39
40
41
42
name: Test
on: [ pull_request ]
jobs:
run-tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Java 17
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- name: Run tests
# note: `package` is used instead of `test` in order to support MultiReleaseJar
run: mvn -B package
check-javadocs:
name: Check Javadocs
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Java 17
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- name: Install artifacts
run: mvn -B install -Dmaven.test.skip=true
- name: Try to generate Javadocs
run: mvn -B javadoc:javadoc