Skip to content

Commit 437736d

Browse files
committed
Use a different env flag to make tests dir available inside the temporary test env.
1 parent b7bfa06 commit 437736d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Build wheels
2222
uses: pypa/[email protected]
2323
env:
24-
CIBW_TEST_SOURCES: "tests"
24+
CIBW_BEFORE_TEST: "cp -r {project}/tests {package}/"
2525
CIBW_TEST_COMMAND: "ls -R && pwd && python -m pytest -v tests/" # "pytest tests/"
2626
CIBW_TEST_REQUIRES: pytest pytest-cov pytest-mock codecov
2727
CIBW_SKIP: cp36-* cp37-* cp38-* cp313-* pp* *-musllinux* *-manylinux_i686

0 commit comments

Comments
 (0)