Skip to content

Commit 4b99e1b

Browse files
committed
Run smoke tests in cibuildwheel instead of bare import
1 parent daa6907 commit 4b99e1b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/python-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*
2929
CIBW_SKIP: "*-musllinux_* pp* *-win32 *-manylinux_i686"
3030
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
31-
CIBW_TEST_COMMAND: python -c "import rlemasklib; print(rlemasklib.__version__)"
31+
CIBW_TEST_REQUIRES: numpy pytest
32+
CIBW_TEST_COMMAND: pytest {project}/tests/test_smoke.py -v
3233
CIBW_BEFORE_ALL_LINUX: >
3334
yum install -y cmake gcc gcc-c++ make &&
3435
cd /tmp &&

0 commit comments

Comments
 (0)