Scrapy, a fast high-level web crawling & scraping framework for Python.
CI: use -n logical (#8075)
Adrianfc9e85f35718
diff --git a/.github/workflows/tests-macos.yml b/.github/workflows/tests-macos.ymlindex 6df106136..8f6894078 100644--- a/.github/workflows/tests-macos.yml+++ b/.github/workflows/tests-macos.yml@@ -21,7 +21,7 @@ jobs:name: tests (${{ matrix.python-version }}, ${{ matrix.env.TOXENV }})runs-on: macos-latestenv:- PYTEST_ADDOPTS: ${{ matrix.coverage && '-n auto' || '-n auto --no-cov' }}+ PYTEST_ADDOPTS: ${{ matrix.coverage && '-n logical' || '-n logical --no-cov' }}# Make uv use the interpreter that actions/setup-python installed instead# of downloading one of its own.UV_PYTHON_PREFERENCE: only-systemdiff --git a/.github/workflows/tests-ubuntu.yml b/.github/workflows/tests-ubuntu.ymlindex efde5ec6c..28b50d392 100644--- a/.github/workflows/tests-ubuntu.yml+++ b/.github/workflows/tests-ubuntu.yml@@ -21,7 +21,7 @@ jobs:name: tests (${{ matrix.python-version }}, ${{ matrix.env.TOXENV }})runs-on: ubuntu-latestenv:- PYTEST_ADDOPTS: ${{ matrix.coverage && '-n auto' || '-n auto --no-cov' }}+ PYTEST_ADDOPTS: ${{ matrix.coverage && '-n logical' || '-n logical --no-cov' }}# Make uv use the interpreter that actions/setup-python installed instead# of downloading one of its own.UV_PYTHON_PREFERENCE: only-systemdiff --git a/.github/workflows/tests-vcs-deps.yml b/.github/workflows/tests-vcs-deps.ymlindex f573f5fc3..146ea2077 100644--- a/.github/workflows/tests-vcs-deps.yml+++ b/.github/workflows/tests-vcs-deps.yml@@ -20,7 +20,7 @@ jobs:env:# A development branch of a dependency can make a test hang forever, so# tests get a time limit here that they do not need elsewhere.- PYTEST_ADDOPTS: -n auto --no-cov --timeout=120+ PYTEST_ADDOPTS: -n logical --no-cov --timeout=120TOXENV: vcs-depsUV_PYTHON_PREFERENCE: only-systemsteps:diff --git a/.github/workflows/tests-windows.yml b/.github/workflows/tests-windows.ymlindex c49dc39c3..a72aace69 100644--- a/.github/workflows/tests-windows.yml+++ b/.github/workflows/tests-windows.yml@@ -21,7 +21,7 @@ jobs:name: tests (${{ matrix.python-version }}, ${{ matrix.env.TOXENV }})runs-on: windows-latestenv:- PYTEST_ADDOPTS: ${{ matrix.coverage && '-n auto' || '-n auto --no-cov' }}+ PYTEST_ADDOPTS: ${{ matrix.coverage && '-n logical' || '-n logical --no-cov' }}# Make uv use the interpreter that actions/setup-python installed instead# of downloading one of its own.UV_PYTHON_PREFERENCE: only-systemdiff --git a/tox.ini b/tox.iniindex 8a5490217..112f8b95f 100644--- a/tox.ini+++ b/tox.ini@@ -40,6 +40,7 @@ deps =coverage >= 7.10.6httpx2pexpect >= 4.8.0+ psutilpyftpdlib >= 2.0.1pygmentspytest