You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by wa...@apache.org on 2021/01/27 06:32:17 UTC

[hawq] branch master updated: HAWQ-1781. Add Github Action Sanity Test

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

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


The following commit(s) were added to refs/heads/master by this push:
     new de10f23  HAWQ-1781. Add Github Action Sanity Test
de10f23 is described below

commit de10f231270af7a12229eb38f1aa1e6265e8541a
Author: Chiyang Wan <ch...@gmail.com>
AuthorDate: Fri Jan 22 16:31:21 2021 +0800

    HAWQ-1781. Add Github Action Sanity Test
---
 .github/workflows/build.yml                     |  7 +++++
 .github/workflows/scripts/gtest_filter_negative | 36 +++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 503109c..11899d1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -94,3 +94,10 @@ jobs:
         .github/workflows/scripts/init_hawq.sh
         psql -d postgres -c 'create database hawq_feature_test_db;'
         src/test/feature/feature-test --gtest_filter=TestDatabase.BasicTest
+
+    - name: test HAWQ
+      run: |
+        source /tmp/hawq/greenplum_path.sh
+        source .github/workflows/scripts/gtest_filter_negative
+        export PGDATABASE=hawq_feature_test_db
+        src/test/feature/feature-test --gtest_filter=*-$GTEST_FILTER_NEGATIVE
diff --git a/.github/workflows/scripts/gtest_filter_negative b/.github/workflows/scripts/gtest_filter_negative
new file mode 100644
index 0000000..744558e
--- /dev/null
+++ b/.github/workflows/scripts/gtest_filter_negative
@@ -0,0 +1,36 @@
+# 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.
+
+export GTEST_FILTER_NEGATIVE=\
+TestErrorTable.TestErrorTableAll:\
+TestCommonLib.TestHdfsConfig:\
+TestExtOrc.TestNormalPath:\
+TestExtOrc.BoolTypeTest:\
+TestExtOrc.DateTypeTest:\
+TestExtOrc.TimeTypeTest:\
+TestExtOrc.TimestampTypeTest:\
+TestExtOrc.BinaryTypeTest:\
+TestExtOrc.StringTypeTest:\
+TestVexecutor.scanframework:\
+TestVexecutor.scanAO:\
+TestVexecutor.ProjAndQual:\
+TestVexecutor.date:\
+TestVexecutor.vagg:\
+TestCloud.*:\
+TestAlterTable.*:\
+TestHawqExtract.*:\
+TestHawqRegister.*:\
+TestRangerPolicyHelper.*:\
+: