From d9023ab2cba2fb26aee8df8e676233e288db869e Mon Sep 17 00:00:00 2001 From: Carlos Pereira Atencio Date: Fri, 24 Nov 2023 01:38:03 +0000 Subject: [PATCH] Add test step to cibuildwheel to test each wheel. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a1b6179..13ea578 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,8 @@ ignore_missing_imports = true [tool.cibuildwheel] before-build = "python -m pip install --upgrade pip wheel setuptools setuptools_scm" +test-requires = "pyusb" +test-command = 'python {project}/test.py' build-verbosity = 1 [tool.cibuildwheel.linux]