Skip to content

Commit 989e7e4

Browse files
authored
GitHub CI testing
1 parent e48a7a1 commit 989e7e4

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci-testing.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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

0 commit comments

Comments
 (0)