File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -163,14 +163,19 @@ jobs:
163
163
pushd ./cuda_bindings
164
164
pip install -r requirements.txt
165
165
pytest -rxXs tests/
166
- if [[ "${{ inputs.host-platform }}" == linux* ]]; then
167
- bash tests/cython/build_tests.sh
168
- elif [[ "${{ inputs.host-platform }}" == win* ]]; then
169
- # TODO: enable this once win-64 runners are up
170
- exit 1
171
- fi
172
- pytest -rxXs tests/cython
173
- popd
166
+
167
+ # It is a bit convoluted to run the Cython tests against CTK wheels,
168
+ # so let's just skip them.
169
+ if [[ "${{ inputs.local-ctk }}" == 1 ]]; then
170
+ if [[ "${{ inputs.host-platform }}" == linux* ]]; then
171
+ bash tests/cython/build_tests.sh
172
+ elif [[ "${{ inputs.host-platform }}" == win* ]]; then
173
+ # TODO: enable this once win-64 runners are up
174
+ exit 1
175
+ fi
176
+ pytest -rxXs tests/cython
177
+ popd
178
+ fi
174
179
175
180
- name : Run cuda.core tests
176
181
run : |
You can’t perform that action at this time.
0 commit comments