Skip to content

Commit 2fb20b0

Browse files
authored
Merge pull request #2089 from HanSolo/github_actions
Added github actions to test the build
2 parents 150dd56 + f99c615 commit 2fb20b0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Java CI
3+
4+
on: [push]
5+
6+
jobs:
7+
test:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-18.04, macOS-latest, windows-2016]
12+
java: [8, 11, 15, 16-ea]
13+
fail-fast: false
14+
max-parallel: 4
15+
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
16+
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: ${{ matrix.java }}
23+
- name: Test with Maven
24+
run: mvn test -B --file pom.xml
25+
26+
...

0 commit comments

Comments
 (0)