Skip to content

Commit

Permalink
expand test_wheel.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Nov 6, 2023
1 parent 7ea3af1 commit 1b2ce4d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ci/test_wheel.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
#!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION

set -e

rapids-logger "Install CUDA Toolkit"
yum update
yum install -y epel-release
yum install -y nvidia-driver-latest-dkms
yum install -y cuda-toolkit-12-3


rapids-logger "Install Python"

python_version="${1:-3.10}"
conda install -y python="$python_version"

rapids-logger "Check conda environment"

conda list

rapids-logger "Install wheel"

pip install ./wheel-build-${python_version}/*.whl

rapids-logger "Build Tests"
cd test_binary_generation && make

rapids-logger "Run Tests"
conda install -y pytest
py.test tests

0 comments on commit 1b2ce4d

Please sign in to comment.