Configure CI to use 10 workers

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-02-03 16:39:21 -08:00
parent 7d1295bdc1
commit b80187511e

View File

@@ -4,13 +4,12 @@ on: [push, pull_request]
jobs:
build:
name: Python ${{ matrix.python-version }} (${{ matrix.group }}/10)
name: Python (${{ matrix.group }}/10)
runs-on: ubuntu-24.04
strategy:
matrix:
# group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
group: [1]
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
steps:
- uses: actions/checkout@v3
@@ -25,5 +24,4 @@ jobs:
pip install tox tox-gh-actions
- name: Test with tox
# run: tox -- -n auto --verbose --splits 10 --group ${{ matrix.group }} --splitting-algorithm least_duration
run: tox -- -n auto --verbose --splits 1 --group ${{ matrix.group }} --splitting-algorithm least_duration
run: tox -- -n auto --verbose --splits 10 --group ${{ matrix.group }} --splitting-algorithm least_duration