File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+ jobs :
10
+ build :
11
+ runs-on : ' ubuntu-latest'
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ java_version : ['8', '11', '14']
16
+ env :
17
+ JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Set up JDK
21
+ uses : joschi/setup-jdk@v1
22
+ with :
23
+ java-version : ${{ matrix.java_version }}
24
+ - uses : actions/cache@v1
25
+ with :
26
+ path : ~/.m2/repository
27
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-maven-
30
+ - name : Build with Maven
31
+ run : ./mvnw -V -B -ff install '-DskipTests=true' '-Dmaven.javadoc.skip=true'
32
+ - name : Run tests
33
+ run : ./mvnw -V -B -ff verify
You can’t perform that action at this time.
0 commit comments