Skip to content

Commit 196e27f

Browse files
committed
fix(CI): do not run test_distribution for built wheels
cibuildwheel already install the wheel before running tests. Running test_distribution is thus not necessary in this case.
1 parent 26fd312 commit 196e27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ before-all = [
1717
before-build = "pip install -r requirements-repair.txt"
1818
repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}"
1919
test-extras = "test"
20-
test-command = "pytest {project}/tests"
20+
test-command = "pytest --ignore={project}/tests/test_distribution.py {project}/tests"
2121
build-verbosity = "1"
2222

2323
[tool.cibuildwheel.linux]

0 commit comments

Comments
 (0)