-
Notifications
You must be signed in to change notification settings - Fork 29
40 lines (39 loc) · 1.04 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Maven
run: mvn --batch-mode -Pci clean package
- name: CodeCov
uses: codecov/codecov-action@v1
integration:
needs: build
runs-on: ubuntu-latest
env:
IM_REALM: ${{ secrets.IM_REALM }}
IM_BASE_URI: ${{ secrets.IM_BASE_URI }}
IM_APPKEY: ${{ secrets.IM_APPKEY }}
IM_CLIENT_ID: ${{ secrets.IM_CLIENT_ID }}
IM_CLIENT_SECRET: ${{ secrets.IM_CLIENT_SECRET }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Maven
run: mvn -pl im-sdk-core --batch-mode -Pci clean test -D test="*IT" -D failIfNoTests=false
# run: mvn --batch-mode -Pci clean verify