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 : Java CI with Maven
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ branches : [ master ]
11+
12+ jobs :
13+ test :
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest, windows-latest, macOS-latest]
18+ java : [1.8, 11, 15]
19+ fail-fast : false
20+ max-parallel : 4
21+ name : Test JDK ${{ matrix.java }}, ${{ matrix.os }}
22+ steps :
23+ - uses : actions/checkout@v2
24+ - name : Set up JDK ${{ matrix.java }}
25+ uses : actions/setup-java@v1
26+ with :
27+ java-version : ${{ matrix.java }}
28+
29+ - name : Verify with Maven
30+ run : mvn -X verify -B --file pom.xml
31+ - name : Cobertura tests
32+ run : mvn -X cobertura:cobertura -B --file pom.xml
You can’t perform that action at this time.
0 commit comments