You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/08/16 00:31:41 UTC

[orc] branch branch-1.6 updated: ORC-955: Add Javadoc generation GitHub Action job (#868)

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

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


The following commit(s) were added to refs/heads/branch-1.6 by this push:
     new 0d7bd1d  ORC-955: Add Javadoc generation GitHub Action job (#868)
0d7bd1d is described below

commit 0d7bd1d69b56c3f811ca02fa3a15ab52580edd8b
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Sun Aug 15 17:07:03 2021 -0700

    ORC-955: Add Javadoc generation GitHub Action job (#868)
    
    This PR aims to add a `javadoc` generation test coverage to prevent a future regression.
    
    Although Javadoc generation is a non-functional step, we had better remove the possibility of VOTE failure completely.
    
    Pass the GitHub Action with the new job.
    
    (cherry picked from commit ee3fe61affd31860f78138c757a9fa44769ebc8a)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
    (cherry picked from commit 1d94dd672e92bfbdbf22af1c1ef3be66eb29d218)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .github/workflows/build_and_test.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 7a69bf0..dbdc774 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -46,3 +46,20 @@ jobs:
         cd ../java
         mvn apache-rat:check
         mvn checkstyle:check
+
+  doc:
+    name: "Javadoc generation"
+    runs-on: ubuntu-20.04
+    steps:
+    - name: Checkout
+      uses: actions/checkout@v2
+    - name: Install Java 1.8
+      uses: actions/setup-java@v1
+      with:
+        java-version: 1.8
+    - name: "javadoc"
+      run: |
+        mkdir -p ~/.m2
+        cd java
+        mvn install -DskipTests
+        mvn javadoc:javadoc