Skip to content

Commit c05711d

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 c05711d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ 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+
test-groups = ["dev"]
67+
test-sources = ["tests"]
68+
6569
[tool.cibuildwheel.linux]
6670
before-all = "if [ -x /usr/bin/yum ]; then yum install -y libffi-devel; fi"
6771

0 commit comments

Comments
 (0)