Skip to content

Commit

Permalink
enable import tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Apr 18, 2024
1 parent 76762fc commit 7a3a7a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 1 addition & 7 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2024, NVIDIA CORPORATION.

set -euo pipefail

Expand Down Expand Up @@ -27,19 +27,13 @@ CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp)

rapids-logger "Begin py build cuSpatial"

# TODO: Remove `--no-test` flag once importing on a CPU
# node works correctly
RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild \
--no-test \
--channel "${CPP_CHANNEL}" \
conda/recipes/cuspatial

rapids-logger "Begin py build cuProj"

# TODO: Remove `--no-test` flag once importing on a CPU
# node works correctly
RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild \
--no-test \
--channel "${CPP_CHANNEL}" \
conda/recipes/cuproj

Expand Down
4 changes: 3 additions & 1 deletion conda/recipes/cuproj/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2023, NVIDIA CORPORATION.
# Copyright (c) 2018-2024, NVIDIA CORPORATION.

{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %}
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
Expand Down Expand Up @@ -84,6 +84,8 @@ test: # [linux64]
- cupy>=12.0.0
- cuspatial ={{ minor_version }}
- rmm ={{ minor_version }}
env:
- RAPIDS_NO_INITIALIZE=1


about:
Expand Down
2 changes: 2 additions & 0 deletions conda/recipes/cuspatial/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ requirements:
test: # [linux64]
imports: # [linux64]
- cuspatial # [linux64]
env:
- RAPIDS_NO_INITIALIZE=1

about:
home: https://rapids.ai/
Expand Down

0 comments on commit 7a3a7a0

Please sign in to comment.