-
Couldn't load subscription status.
- Fork 292
Closed
Description
Description
If you use a subdirectory, test-sources doesn't seem to work correctly. For pybind11, there's a tests/pyproject.toml that is the subdirectory being tested. This is what I would have expected to work:
[tool.cibuildwheel]
-test-command = "pytest -o timeout=0 -p no:cacheprovider {project}/tests/test_*.py"
+test-command = "python -m pytest -o timeout=0 -p no:cacheprovider tests/test_*.py"
+test-sources = ["tests", "pyproject.toml"]However, it seems to be running inside the subdirectory instead.
Build log
https://github.com/pybind/pybind11/actions/runs/15350529674/job/43197316393?pr=5705
CI config
Metadata
Metadata
Assignees
Labels
No labels