You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/08/06 19:40:23 UTC

[arrow] 08/15: ARROW-2985: [Ruby] Add support for verifying RC

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

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

commit 072fa775d8fd54d4f3b6aa185fb85f91b79a1876
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Mon Aug 6 08:15:34 2018 -0400

    ARROW-2985: [Ruby] Add support for verifying RC
    
    Author: Kouhei Sutou <ko...@clear-code.com>
    
    Closes #2376 from kou/verify-ruby and squashes the following commits:
    
    f3e1fb7a <Kouhei Sutou>  Add support for verifying RC
---
 dev/release/verify-release-candidate.sh | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index eedec46..05b0a43 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -225,6 +225,25 @@ test_js() {
   popd
 }
 
+test_ruby() {
+  export GI_TYPELIB_PATH=$ARROW_HOME/lib/girepository-1.0:$GI_TYPELIB_PATH
+
+  pushd ruby
+
+  pushd red-arrow
+  bundle install --path vendor/bundle
+  bundle exec ruby test/run-test.rb
+  popd
+
+  # TODO: Arrow GPU related tests
+  # pushd red-arrow-gpu
+  # bundle install --path vendor/bundle
+  # bundle exec ruby test/run-test.rb
+  # popd
+
+  popd
+}
+
 test_rust() {
   # install rust toolchain in a similar fashion like test-miniconda
   export RUSTUP_HOME=`pwd`/test-rustup
@@ -309,6 +328,7 @@ test_integration
 test_glib
 install_parquet_cpp
 test_python
+test_ruby
 test_rust
 
 echo 'Release candidate looks good!'