Skip to content

Commit dc0c793

Browse files
committed
running parallel test for ft
1 parent 4af19dc commit dc0c793

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build_wheels.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,13 @@ jobs:
165165
CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS"
166166
CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin'
167167
CIBW_TEST_COMMAND_WINDOWS: |
168-
pip install {package}[test] && (
169-
python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"
170-
if errorlevel 1 (
171-
pytest -s {project}/tests
172-
) else (
173-
pytest --parallel-threads=10 --iterations=10 {project}/tests
174-
)
175-
)
168+
pip install {package}[test]
169+
python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"
170+
if ($LASTEXITCODE -ne 0) {
171+
pytest -s {project}/tests
172+
} else {
173+
pytest --parallel-threads=10 --iterations=10 {project}/tests
174+
}
176175
CIBW_TEST_EXTRAS: test
177176
shell: pwsh
178177
run: |

0 commit comments

Comments
 (0)