Skip to content

Commit c3dd685

Browse files
authored
CI: Windows Pytest fix (#150)
1 parent b40c406 commit c3dd685

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,8 @@ jobs:
164164
CFLAGS="/DDISABLE_QUADBLAS $CFLAGS"
165165
CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS"
166166
CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin'
167-
CIBW_TEST_COMMAND: |
168-
pip install {package}[test]
169-
if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
170-
pytest --parallel-threads=10 --iterations=10 {project}/tests
171-
else
172-
pytest -s {project}/tests
173-
fi
167+
CIBW_TEST_COMMAND_WINDOWS: pip install {package}[test] && pytest -s {project}/tests
174168
CIBW_TEST_EXTRAS: test
175-
CIBW_TEST_FAIL_FAST: 1
176169
shell: pwsh
177170
run: |
178171
python -m cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)