You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2018/10/27 15:39:41 UTC

[arrow] branch master updated: ARROW-3569: [Packaging] Run pyarrow unittests when building conda package

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4a3d8c9  ARROW-3569: [Packaging] Run pyarrow unittests when building conda package
4a3d8c9 is described below

commit 4a3d8c9b95108a3635d51dea9c730af059763b37
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Sat Oct 27 17:39:25 2018 +0200

    ARROW-3569: [Packaging] Run pyarrow unittests when building conda package
    
    Builds: https://github.com/kszucs/crossbow/branches/all?utf8=%E2%9C%93&query=build-351
    
    Author: Krisztián Szűcs <sz...@gmail.com>
    
    Closes #2802 from kszucs/ARROW-3569 and squashes the following commits:
    
    5f293833 <Krisztián Szűcs>  parquet-testing submodule isn't required for python tests
    c7a91b71 <Krisztián Szűcs>  run unittests
---
 dev/tasks/conda-recipes/appveyor.yml      | 1 +
 dev/tasks/conda-recipes/pyarrow/build.sh  | 1 -
 dev/tasks/conda-recipes/pyarrow/meta.yaml | 6 ++++++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev/tasks/conda-recipes/appveyor.yml b/dev/tasks/conda-recipes/appveyor.yml
index 47e331f..cdc9d97 100644
--- a/dev/tasks/conda-recipes/appveyor.yml
+++ b/dev/tasks/conda-recipes/appveyor.yml
@@ -51,6 +51,7 @@ build: off
 test_script:
   - git clone -b {{ arrow.branch }} {{ arrow.remote }} arrow || exit /B
   - git -C arrow checkout {{ arrow.head }} || exit /B
+
   - pushd arrow\dev\tasks\conda-recipes
   - conda.exe build --output-folder . -m {{ variant_config_file }} parquet-cpp arrow-cpp pyarrow
   - pushd win-64
diff --git a/dev/tasks/conda-recipes/pyarrow/build.sh b/dev/tasks/conda-recipes/pyarrow/build.sh
index 93f155a..22116b2 100644
--- a/dev/tasks/conda-recipes/pyarrow/build.sh
+++ b/dev/tasks/conda-recipes/pyarrow/build.sh
@@ -24,7 +24,6 @@ set -x
 export ARROW_HOME=$PREFIX
 export PARQUET_HOME=$PREFIX
 
-
 cd python
 $PYTHON setup.py \
         build_ext --build-type=release --with-parquet --with-plasma --with-orc \
diff --git a/dev/tasks/conda-recipes/pyarrow/meta.yaml b/dev/tasks/conda-recipes/pyarrow/meta.yaml
index 45e28a7..167056b 100644
--- a/dev/tasks/conda-recipes/pyarrow/meta.yaml
+++ b/dev/tasks/conda-recipes/pyarrow/meta.yaml
@@ -56,6 +56,12 @@ test:
     - pyarrow.parquet
     - pyarrow.plasma  # [unix]
 
+  requires:
+    - pytest
+
+  commands:
+    - pytest --pyargs pyarrow
+
 about:
   home: http://github.com/apache/arrow
   license: Apache 2.0