Skip to content

Commit ea703c4

Browse files
authored
minimal treatment from NVIDIA#252
1 parent a13d6be commit ea703c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,14 @@ jobs:
258258
pushd ./cuda_bindings
259259
pip install -r requirements.txt
260260
pytest -rxXs tests/
261+
cd tests_cython
261262
if [[ "${{ matrix.host-platform }}" == linux* ]]; then
262263
# cython tests require gcc
263264
apt install -y build-essential
264-
bash tests/cython/build_tests.sh
265+
CPLUS_INCLUDE_PATH=$CUDA_HOME/include:$CPLUS_INCLUDE_PATH cythonize -3 -i test_*.pyx
265266
elif [[ "${{ matrix.host-platform }}" == win* ]]; then
266267
# TODO: enable this once win-64 runners are up
267268
exit 1
268269
fi
269-
pytest -rxXs tests/cython
270+
pytest -rxXs .
270271
popd

0 commit comments

Comments
 (0)