-
Notifications
You must be signed in to change notification settings - Fork 20
36 lines (35 loc) · 941 Bytes
/
CI.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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: '${{ matrix.platform }} with Java ${{ matrix.java-version }}'
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
- macos-latest
java-version:
- 8
- 11
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: adopt-hotspot
java-version: ${{ matrix.java-version }}
- name: Install
run: mvn clean install -DskipTests=true -D"maven.javadoc.skip=true" -B -V -D"javax.xml.accessExternalSchema=all"
- name: Test
run: mvn test --batch-mode -D"javax.xml.accessExternalSchema=all"
- name: Lint
run: mvn checkstyle:check --batch-mode --fail-never