We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 310f391 commit 806b9a7Copy full SHA for 806b9a7
ci/tools/run-tests
@@ -57,7 +57,13 @@ elif [[ "${test_module}" == "core" ]]; then
57
echo "Installing core wheel"
58
pwd
59
ls
60
- pip install $(ls *.whl)["cu${TEST_CUDA_MAJOR}","test-cu${TEST_CUDA_MAJOR}"]
+ if [[ "${LOCAL_CTK}" == 1 ]]; then
61
+ # We already installed cuda-bindings, and all CTK components exist locally,
62
+ # so just install the test dependencies.
63
+ pip install $(ls *.whl)["test-cu${TEST_CUDA_MAJOR}"]
64
+ else
65
+ pip install $(ls *.whl)["cu${TEST_CUDA_MAJOR}","test-cu${TEST_CUDA_MAJOR}"]
66
+ fi
67
popd
68
pushd ./cuda_core
69
echo "Running core tests"
@@ -69,4 +75,4 @@ elif [[ "${test_module}" == "core" ]]; then
75
${SANITIZER_CMD} pytest -rxXs -v tests/cython
70
76
fi
71
77
72
-fi
78
+fi
0 commit comments