Skip to content

Commit

Permalink
Improve external tests (#520)
Browse files Browse the repository at this point in the history
Resolves #509. Adds more libraries to test installs against `cuxfilter`, along with testing pyviz+RAPIDS cuDF, dask-cudf capabilities.

Authors:
  - Ajay Thorve (https://github.com/AjayThorve)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #520
  • Loading branch information
AjayThorve authored Aug 10, 2023
1 parent 249ceca commit f7a6104
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
16 changes: 14 additions & 2 deletions ci/test_external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,19 @@ rapids-logger "Create test_external conda environment"

RAPIDS_VERSION=23.10.*

rapids-mamba-retry create -n test_external -c rapidsai -c conda-forge -c nvidia \
cudf=${RAPIDS_VERSION} dask-cudf=${RAPIDS_VERSION} python=3.10 cudatoolkit=11.8
rapids-mamba-retry create \
-n test_external \
--override-channels \
-c rapidsai-nightly \
-c nvidia \
-c conda-forge \
cuxfilter="${RAPIDS_VERSION}" cudf="${RAPIDS_VERSION}" dask-cudf="${RAPIDS_VERSION}" \
python="${RAPIDS_PY_VERSION}" cuda-version="${RAPIDS_CUDA_VERSION}"

# Install external dependencies into test_external conda environment
pushd ./ci/utils
rapids-mamba-retry env update -n test_external -f external_dependencies.yaml
popd

conda activate test_external

Expand All @@ -18,6 +29,7 @@ PROJECT=$1
PR_NUMBER=$2
LIBRARIES=("datashader" "holoviews")

# Change directory to /tmp
pushd /tmp

# Clone the specified Python libraries
Expand Down
10 changes: 10 additions & 0 deletions ci/utils/external_dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: test_external
channels:
- conda-forge
dependencies:
- tensorflow
- xarray-spatial
- pycaret
- graphistry
- dash
- dask-sql

0 comments on commit f7a6104

Please sign in to comment.