Skip to content

Commit 7decb11

Browse files
committed
Use 4 parallel workers in tox runs
1 parent 4664baa commit 7decb11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ jobs:
106106
run: |
107107
source .venv/bin/activate
108108
coverage erase
109+
# Using `--parallel 4` as it's the number of CPUs in the GitHub Actions runner
109110
# Using `installpkg dist/*.tar.gz` because we want to install the pre-built package (want to test against that)
110-
tox run-parallel -f ${{ matrix.toxfactor }} --parallel-no-spinner --parallel-live --installpkg dist/*.whl
111+
tox run-parallel -f ${{ matrix.toxfactor }} --parallel 4 --parallel-no-spinner --parallel-live --installpkg dist/*.whl
111112
coverage combine
112113
coverage xml
113114

0 commit comments

Comments
 (0)