Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Use logical instead of physical cores to detect pytest workers (#17413)

Lukasz Ostrowski32761e7f4293
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index 672f070ed3..168771af76 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -99,7 +99,8 @@ jobs:
--cov \
--cov-report= \
--junitxml=junit/test-results.xml \
- --django-db-bench=${{ env.BENCH_PATH }}
+ --django-db-bench=${{ env.BENCH_PATH }} \
+ -n logical
- uses: actions/cache@v4
with: