Run the backend tests on every vCPU

-nauto counts physical cores when psutil is installed, so the four-vCPU
runner got two workers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-10-08 16:45:58 -06:00
parent 814fb69000
commit c373b24c82
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -34,10 +34,10 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt
# `-nauto` parallelizes across all available cores via pytest-xdist. No `-v`: the full
# test output inflates wall time and logs.
# `logical`, not `auto`: with psutil installed, `auto` counts physical cores, which is two on
# the four-vCPU runner. No `-v`: the full test output inflates wall time and logs.
- name: Run pytest
run: pytest -nauto --junitxml=test-results.xml
run: pytest -n logical --junitxml=test-results.xml
- name: Upload test results
if: ${{ !cancelled() }}