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

jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 34d987d  add a linter checker (#7466)
34d987d is described below

commit 34d987d17cf1baf61c899c8fb8617bfc1749ab29
Author: Rong Rong <walterddr.walter...@gmail.com>
AuthorDate: Wed Sep 22 17:44:54 2021 -0700

    add a linter checker (#7466)
---
 .github/workflows/pinot_tests.yml          | 13 ++++++++++++
 .github/workflows/scripts/.pinot_linter.sh | 33 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/.github/workflows/pinot_tests.yml 
b/.github/workflows/pinot_tests.yml
index 5fe5ee1..38ab2a4 100644
--- a/.github/workflows/pinot_tests.yml
+++ b/.github/workflows/pinot_tests.yml
@@ -38,6 +38,19 @@ on:
       - "**.md"
 
 jobs:
+  linter-test:
+    runs-on: ubuntu-latest
+    name: Pinot Linter Test Set
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up JDK 11
+        uses: actions/setup-java@v1
+        with:
+          java-version: 11
+      - name: Linter Test
+        env:
+          MAVEN_OPTS: -Xmx2G -DskipShade -DfailIfNoTests=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=25 
-Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false 
-Dmaven.wagon.http.pool=false
+        run: .github/workflows/scripts/.pinot_linter.sh
   unit-test:
     runs-on: ubuntu-latest
     strategy:
diff --git a/.github/workflows/scripts/.pinot_linter.sh 
b/.github/workflows/scripts/.pinot_linter.sh
new file mode 100755
index 0000000..1c91370
--- /dev/null
+++ b/.github/workflows/scripts/.pinot_linter.sh
@@ -0,0 +1,33 @@
+#!/bin/bash -x
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# Java version
+java -version
+
+# Check network
+ifconfig
+netstat -i
+
+
+mvn rat:check
+mvn checkstyle:check
+mvn spotless:check
+mvn enforcer:enforce
+

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to