Skip to content

Commit a4714c6

Browse files
committed
CI: Run pytest in the context of compute-sanitizer
1 parent cdef526 commit a4714c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test-wheel-linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
204204
pushd ./cuda_bindings
205205
pip install -r requirements.txt
206-
pytest -rxXs -v tests/
206+
${SANITIZER_CMD} pytest -rxXs -v tests/
207207
208208
# It is a bit convoluted to run the Cython tests against CTK wheels,
209209
# so let's just skip them.
@@ -214,7 +214,7 @@ jobs:
214214
# TODO: enable this once win-64 runners are up
215215
exit 1
216216
fi
217-
pytest -rxXs -v tests/cython
217+
${SANITIZER_CMD} pytest -rxXs -v tests/cython
218218
fi
219219
popd
220220
@@ -238,7 +238,7 @@ jobs:
238238
239239
pushd ./cuda_core
240240
pip install -r "tests/requirements-cu${TEST_CUDA_MAJOR}.txt"
241-
pytest -rxXs -v tests/
241+
${SANITIZER_CMD} pytest -rxXs -v tests/
242242
243243
# It is a bit convoluted to run the Cython tests against CTK wheels,
244244
# so let's just skip them. Also, currently our CI always installs the
@@ -252,7 +252,7 @@ jobs:
252252
# TODO: enable this once win-64 runners are up
253253
exit 1
254254
fi
255-
pytest -rxXs -v tests/cython
255+
${SANITIZER_CMD} pytest -rxXs -v tests/cython
256256
fi
257257
popd
258258

0 commit comments

Comments
 (0)