You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2021/03/09 17:00:20 UTC
[iotdb] 02/03: add github action for client-go submodule
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch gitsubmodule2
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e7f2b27a9cadd6ddfcc4d4b2ca067107454176a1
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed Mar 10 00:58:48 2021 +0800
add github action for client-go submodule
---
.github/workflows/client-go.yml | 45 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/.github/workflows/client-go.yml b/.github/workflows/client-go.yml
new file mode 100644
index 0000000..7e78b30
--- /dev/null
+++ b/.github/workflows/client-go.yml
@@ -0,0 +1,45 @@
+# This workflow is just for checking whether modifications works for the Go client.
+
+name: Go Client
+
+on:
+ push:
+ branches:
+ - master
+ - 'rel/*'
+ paths-ignore:
+ - 'docs/**'
+ pull_request:
+ branches:
+ - master
+ - 'rel/*'
+ paths-ignore:
+ - 'docs/**'
+ # allow manually run the action:
+ workflow_dispatch:
+
+jobs:
+ unix:
+ strategy:
+ fail-fast: false
+ max-parallel: 20
+ matrix:
+ java: [ 11 ]
+ os: [ ubuntu-latest, macos-latest ]
+ runs-on: ${{ matrix.os}}
+
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ token: ${{secrets.GITHUB_TOKEN}}
+ submodules: recursive
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: Compile IoTDB Server
+ run: mvn -B package -Dmaven.test.skip=true -am -pl server
+ - name: Integration test
+ shell: bash
+ run: |
+ cd iotdb-client-go && make e2e_test_for_parent_git_repo e2e_test_clean_for_parent_git_repo
\ No newline at end of file