Skip to content

Commit 7de848e

Browse files
committed
parallelize on both cores of the runner
2 cores for a github actions runner
1 parent 048418c commit 7de848e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,16 @@ jobs:
7373
id: setup-python
7474
with:
7575
python-version: ${{ matrix.python }}
76+
- name: Install dependencies
77+
run: pip install pytest-xdist
7678
- name: Retrieve pre-built distribution files
7779
uses: actions/download-artifact@v3
7880
with: {name: python-distribution-files, path: dist/}
7981
- name: Run tests
8082
run: >-
8183
pipx run --python '${{ steps.setup-python.outputs.python-path }}'
8284
tox --installpkg '${{ needs.prepare.outputs.wheel-distribution }}'
83-
-- -rFEx --durations 10 --color yes # pytest args
85+
-- -rFEx --durations 10 --color yes -n auto # pytest args
8486
# - name: Generate coverage report
8587
# run: pipx run coverage lcov -o coverage.lcov
8688
# - name: Upload partial coverage report

0 commit comments

Comments
 (0)