Skip to content

Commit 230bada

Browse files
committed
try to get pytest config work correct for windows runners
1 parent 71a8e9a commit 230bada

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/packaging_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ jobs:
4848
runs-on: ${{ matrix.platform.os }}
4949
env:
5050
CIBW_TEST_SKIP: ${{ inputs.testsuite == 'none' && '*' || '*-macosx_universal2' }}
51-
CIBW_TEST_SOURCES: tests
51+
CIBW_TEST_SOURCES: tests pyproject.toml
5252
CIBW_BEFORE_TEST: >
5353
uv export --only-group test --no-emit-project --quiet --output-file pylock.toml --directory {project} &&
5454
uv pip install -r pylock.toml
5555
CIBW_TEST_COMMAND: >
56-
uv run -v pytest -c {project}/pyproject.toml ${{ inputs.testsuite == 'fast' && './tests/fast' || './tests' }}
56+
uv run -v pytest ${{ inputs.testsuite == 'fast' && './tests/fast' || './tests' }}
5757
5858
steps:
5959
- name: Checkout DuckDB Python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ dev = [ # tooling like uv will install this automatically when syncing the envir
305305

306306
[tool.pytest.ini_options]
307307
minversion = "6.0"
308-
addopts = "-ra -p no:xdist --verbose"
308+
addopts = "-ra --numprocesses 4 --dist loadfile --verbose"
309309
testpaths = ["tests"]
310310
filterwarnings = [
311311
"error",

0 commit comments

Comments
 (0)