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 2020/11/14 16:28:48 UTC

[iotdb] branch try-github-action-to-replace-travis created (now 3000986)

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a change to branch try-github-action-to-replace-travis
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 3000986  try-github-action-to-replace-travis

This branch includes the following new commits:

     new 3000986  try-github-action-to-replace-travis

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: try-github-action-to-replace-travis

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch try-github-action-to-replace-travis
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 3000986c07e1760a195675e55386c91daef9c38e
Author: Xiangdong Huang <hx...@apache.org>
AuthorDate: Sun Nov 15 00:28:29 2020 +0800

    try-github-action-to-replace-travis
    
    try-github-action-to-replace-travis
    Only contains `mvn test`
---
 .github/workflows/main-ci.yml | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml
new file mode 100644
index 0000000..6ca87d7
--- /dev/null
+++ b/.github/workflows/main-ci.yml
@@ -0,0 +1,40 @@
+# This workflow will build a Java project with Maven
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+
+name: Java CI with Maven
+
+on:
+  push:
+    branches: 
+      - master
+      - 'rel/*'
+    paths-ignore:
+      - 'docs/**'
+  pull_request:
+    branches: 
+      - master
+      - 'rel/*'
+      - cluster_new
+    paths-ignore:
+      - 'docs/**'
+        
+jobs:
+  build:
+
+    runs-on: 
+     - ubuntu-latest
+     - windows-latest 
+     - macos-latest
+    strategy:
+      matrix:
+        java: [8, 11.0.x]
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up JDK ${{ matrix.java }}
+      uses: actions/setup-java@v1
+      with:
+        java-version: ${{ matrix.java }}
+    - name: Check Apache Rat
+      run: mvn -B apache-rat:check
+    - name: Test with Maven
+      run: mvn -B clean test integration-test -Dtest.port.closed=true