Skip to content

Commit 1e82663

Browse files
Merge pull request #8 from rjzamora/test-dask-cudf
Clone and run Dask-cuDF tests
2 parents 5dd4c41 + 898911c commit 1e82663

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dask
22
distributed
3+
cudf

scripts/run.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ pip install --extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/
2222
"scipy" \
2323
"dask-cuda"
2424

25-
echo "Installing dask@{DASK_VERSION}"
25+
26+
# Clone cudf repo (need dask_cudf tests)
27+
CUDF_VERSION="branch-25.04"
28+
echo "Cloning cudf@{$CUDF_VERSION}"
29+
30+
if [ ! -d "cudf" ]; then
31+
git clone https://github.com/rapidsai/cudf.git --branch $CUDF_VERSION
32+
fi
33+
34+
echo "Installing dask@{$DASK_VERSION}"
2635

2736
# depth needs to be sufficient to reach the last tag, so that the package
2837
# versions are set correctly

scripts/test.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
#!/usr/bin/env bash
22
# SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION & AFFILIATES.
33

4+
echo "[testing dask-cudf]"
5+
pushd cudf/python/dask_cudf || exit 1
6+
pytest dask_cudf -v
7+
dask_cudf_status=$?
8+
popd || exit 1
9+
410
echo "[testing dask]"
5-
pushd dask || exit
11+
pushd dask || exit 1
612
pytest dask -v -m gpu
713
dask_status=$?
8-
popd || exit
14+
popd || exit 1
915

1016
echo "[testing distributed]"
11-
pushd distributed || exit
17+
pushd distributed || exit 1
1218
pytest distributed -v -m gpu --runslow
1319
distributed_status=$?
14-
popd || exit
20+
popd || exit 1
1521

16-
if [ $dask_status -ne 0 ] || [ $distributed_status -ne 0 ]; then
22+
if [ $dask_cudf_status -ne 0 ] || [ $dask_status -ne 0 ] || [ $distributed_status -ne 0 ]; then
1723
echo "Tests faild"
1824
exit 1
1925
fi

0 commit comments

Comments
 (0)