Skip to content

Commit 633021b

Browse files
authored
Merge pull request #893 from HanSolo/github_actions
Added github actions to verify the build on each push
2 parents 0040dd8 + d58615d commit 633021b

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.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]
12+
java: [11]
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 verify
25+
26+
...

0 commit comments

Comments
 (0)