File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments