Skip to content

Commit 98e3d78

Browse files
authored
Update build-and-test.yml
1 parent 23729a2 commit 98e3d78

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,16 +258,13 @@ jobs:
258258
pushd ./cuda_bindings
259259
pip install -r requirements.txt
260260
pytest -rxXs tests/
261-
cd tests_cython
262261
if [[ "${{ matrix.host-platform }}" == linux* ]]; then
263262
# cython tests require gcc
264-
apt update
265263
apt install -y build-essential
266-
ls -l $CUDA_HOME/include
267-
CPLUS_INCLUDE_PATH="$CUDA_HOME/include" cythonize -3 -i test_*.pyx
264+
bash tests_cython/build_tests.sh
268265
elif [[ "${{ matrix.host-platform }}" == win* ]]; then
269266
# TODO: enable this once win-64 runners are up
270267
exit 1
271268
fi
272-
pytest -rxXs .
269+
pytest -rxXs tests_cython
273270
popd

0 commit comments

Comments
 (0)