Skip to content

Commit

Permalink
Update build-and-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang authored Jan 10, 2025
1 parent 23729a2 commit 98e3d78
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,16 +258,13 @@ jobs:
pushd ./cuda_bindings
pip install -r requirements.txt
pytest -rxXs tests/
cd tests_cython
if [[ "${{ matrix.host-platform }}" == linux* ]]; then
# cython tests require gcc
apt update
apt install -y build-essential
ls -l $CUDA_HOME/include
CPLUS_INCLUDE_PATH="$CUDA_HOME/include" cythonize -3 -i test_*.pyx
bash tests_cython/build_tests.sh
elif [[ "${{ matrix.host-platform }}" == win* ]]; then
# TODO: enable this once win-64 runners are up
exit 1
fi
pytest -rxXs .
pytest -rxXs tests_cython
popd

0 comments on commit 98e3d78

Please sign in to comment.