Skip to content

Commit d9023ab

Browse files
committed
Add test step to cibuildwheel to test each wheel.
1 parent 7a62b64 commit d9023ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ ignore_missing_imports = true
1717

1818
[tool.cibuildwheel]
1919
before-build = "python -m pip install --upgrade pip wheel setuptools setuptools_scm"
20+
test-requires = "pyusb"
21+
test-command = 'python {project}/test.py'
2022
build-verbosity = 1
2123

2224
[tool.cibuildwheel.linux]

0 commit comments

Comments
 (0)