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 <[email protected]> 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
