You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ga...@apache.org on 2021/02/02 15:56:25 UTC
[parquet-mr] branch master updated: PARQUET-1969: Test by
GithubAction (#860)
This is an automated email from the ASF dual-hosted git repository.
gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git
The following commit(s) were added to refs/heads/master by this push:
new 27448d8 PARQUET-1969: Test by GithubAction (#860)
27448d8 is described below
commit 27448d822e294cdd274d2289ed737f2b9178f011
Author: Yuming Wang <yu...@apache.org>
AuthorDate: Tue Feb 2 23:56:02 2021 +0800
PARQUET-1969: Test by GithubAction (#860)
---
.github/workflows/test.yml | 33 +++++++++++++++++++++++++++++++++
pom.xml | 1 +
2 files changed, 34 insertions(+)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..15bd07c
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,33 @@
+name: Test
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ java: [ '1.8', '11' ]
+ codes: [ 'uncompressed,brotli', 'gzip,snappy' ]
+ name: Build Parquet with JDK ${{ matrix.java }} and ${{ matrix.codes }}
+
+ steps:
+ - uses: actions/checkout@master
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: before_install
+ run: |
+ bash dev/travis-before_install.sh
+ - name: install
+ run: |
+ mvn install --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true -Dsource.skip=true -Djava.version=${{ matrix.java }}
+ - name: verify
+ env:
+ HADOOP_PROFILE: default
+ TEST_CODECS: ${{ matrix.codes }}
+ run: |
+ mvn verify --batch-mode javadoc:javadoc -Ptravis,$HADOOP_PROFILE
diff --git a/pom.xml b/pom.xml
index 9d81634..064cf38 100644
--- a/pom.xml
+++ b/pom.xml
@@ -469,6 +469,7 @@
<consoleOutput>true</consoleOutput>
<excludes>
<exclude>.github/PULL_REQUEST_TEMPLATE.md</exclude>
+ <exclude>.github/workflows/test.yml</exclude>
<exclude>**/*.parquet</exclude>
<exclude>**/*.avro</exclude>
<exclude>**/*.json</exclude>