From c373b24c82b2f135213d7afcf2d644c9fea2e266 Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 8 Oct 2026 16:45:58 -0600 Subject: [PATCH] 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 --- .github/workflows/backend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 9723b8bf..ab44b3cb 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -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() }}