mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
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:
parent
814fb69000
commit
c373b24c82
1 changed files with 3 additions and 3 deletions
6
.github/workflows/backend.yml
vendored
6
.github/workflows/backend.yml
vendored
|
|
@ -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() }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue