File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Maven
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+ name : Tests
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ branches : [ master ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ jdk : ["11", "8"]
21+
22+ steps :
23+ - uses : actions/checkout@v2
24+ - name : Set up JDK 11
25+ uses : actions/setup-java@v2
26+ with :
27+ java-version : ${{ matrix.jdk }}
28+ distribution : ' adopt'
29+ - name : MVN Install
30+ run : mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V
31+ - name : Build
32+ run : mvn clean compile -U
33+ - name : Unit Tests
34+ run : mvn test -Punit-tests
35+ - name : Integration Tests
36+ run : mvn test -Pintegration-tests
You can’t perform that action at this time.
0 commit comments