Skip to content

Commit 4c157a0

Browse files
committed
Add GitHub Actions CI config
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
1 parent 20d91fe commit 4c157a0

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: OpenSergo Java SDK CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-20.04
12+
strategy:
13+
matrix:
14+
java: [8, 11]
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Setup Java
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: ${{ matrix.java }}
23+
architecture: x64
24+
25+
- name: Test with Maven
26+
run: mvn test
27+
28+
- name: Build with Maven
29+
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DminimumPriority=1
30+
31+
- name: Run Codecov
32+
run: bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)