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

dongjoon pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new e21c52b  [SPARK-29199][INFRA] Add linters and license/dependency 
checkers to GitHub Action
e21c52b is described below

commit e21c52b0ca3f2d8b88ea0b0f66e333623e600181
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Sep 21 08:13:00 2019 -0700

    [SPARK-29199][INFRA] Add linters and license/dependency checkers to GitHub 
Action
    
    This PR aims to add linters and license/dependency checkers to GitHub 
Action. This excludes `lint-r` intentionally because 
https://github.com/actions/setup-r is not ready. We can add that later when it 
becomes available.
    
    This will help the PR reviews.
    
    No.
    
    See the GitHub Action result on this PR.
    
    Closes #25879 from dongjoon-hyun/SPARK-29199.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/branch-2.4.yml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/.github/workflows/branch-2.4.yml b/.github/workflows/branch-2.4.yml
index 208bb46..27e05a6 100644
--- a/.github/workflows/branch-2.4.yml
+++ b/.github/workflows/branch-2.4.yml
@@ -31,3 +31,29 @@ jobs:
         export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=512m 
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
         export MAVEN_CLI_OPTS="--no-transfer-progress"
         ./build/mvn $MAVEN_CLI_OPTS -DskipTests -Pyarn -Pmesos -Pkubernetes 
-Phive -Phive-thriftserver -Pscala-${{ matrix.scala }} package
+
+
+  lint:
+    runs-on: ubuntu-latest
+    name: Linters
+    steps:
+    - uses: actions/checkout@master
+    - uses: actions/setup-java@v1
+      with:
+        java-version: '1.8'
+    - uses: actions/setup-python@v1
+      with:
+        python-version: '3.x'
+        architecture: 'x64'
+    - name: Scala
+      run: ./dev/lint-scala
+    - name: Java
+      run: ./dev/lint-java
+    - name: Python
+      run: |
+        pip install flake8 sphinx numpy
+        ./dev/lint-python
+    - name: License
+      run: ./dev/check-license
+    - name: Dependencies
+      run: ./dev/test-dependencies.sh


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to