Skip to content

Commit a7c0dd6

Browse files
committed
disable randomly
1 parent 18f5674 commit a7c0dd6

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ jobs:
7979
shell: bash
8080
run: |
8181
if [[ "${{ inputs.testsuite }}" == "all" ]]; then
82-
uv run coverage run -m pytest ./tests --ignore=./tests/stubs
82+
uv run coverage run -m pytest -n 4 ./tests
8383
elif [[ "${{ inputs.testsuite }}" == "fast" ]]; then
84-
uv run coverage run -m pytest ./tests/fast
84+
uv run coverage run -m pytest -n 4 ./tests/fast
8585
else
8686
echo "Invalid testsuite!"
8787
exit 1

.github/workflows/packaging_sdist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
# run tests
8181
tests_root="${{ github.workspace }}/tests"
8282
tests_dir="${tests_root}${{ inputs.testsuite == 'fast' && '/fast' || '/' }}"
83-
uv run --verbose pytest $tests_dir --verbose --ignore=${tests_root}/stubs
83+
uv run --verbose pytest -n 4 $tests_dir --verbose
8484
8585
- id: versioning
8686
run: |

.github/workflows/packaging_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
CIBW_TEST_SKIP: ${{ inputs.testsuite == 'none' && '*' || '*-macosx_universal2' }}
5151
CIBW_TEST_SOURCES: tests
5252
CIBW_BEFORE_TEST: >
53-
uv export --only-group test --no-emit-project --output-file pylock.toml --directory {project} &&
53+
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 ${{ inputs.testsuite == 'fast' && './tests/fast' || './tests' }} --verbose --ignore=./tests/stubs
56+
uv run -v pytest -n 4 ${{ inputs.testsuite == 'fast' && './tests/fast' || './tests' }} --verbose
5757
5858
steps:
5959
- name: Checkout DuckDB Python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ test = [ # dependencies used for running tests
234234
"pytest-reraise",
235235
"pytest-timeout",
236236
"pytest-xdist",
237-
"pytest-randomly",
237+
#"pytest-randomly",
238238
"pytest-timestamper",
239239
"mypy",
240240
"coverage",

0 commit comments

Comments
 (0)