Skip to content

Commit 6ef5f71

Browse files
committed
ci: run tests in cibuildwheel
Previously we weren't running tests against the built wheel. The wheel build could be different from the build used in the tests workflow. Let's test our wheels to add extra confidence about their integrity.
1 parent ecce69f commit 6ef5f71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ build-frontend = "build[uv]"
6262
# Turn compiler warnings into errors.
6363
environment = "ZSTD_WARNINGS_AS_ERRORS=1"
6464

65+
test-command = "pytest -v tests/"
66+
6567
[tool.cibuildwheel.linux]
6668
before-all = "if [ -x /usr/bin/yum ]; then yum install -y libffi-devel; fi"
6769

0 commit comments

Comments
 (0)