Add server sdk v2.0 code #458
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | ||
on: | ||
push: | ||
branches: [ master_java_2.0 ] | ||
pull_request: | ||
branches: [ master_java_2.0 ] | ||
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: Maven Test | ||
with: | ||
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 }} | ||
# env: | ||
# 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 }} | ||
run: mvn test | ||
Check failure on line 30 in .github/workflows/build.yml GitHub Actions / BuildInvalid workflow file
|
||
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 | ||