Skip to content

Proof-of-concept: reduce GitHub Actions unit test durations by removing tox and using test parallelization #2759

Proof-of-concept: reduce GitHub Actions unit test durations by removing tox and using test parallelization

Proof-of-concept: reduce GitHub Actions unit test durations by removing tox and using test parallelization #2759

Workflow file for this run

name: unittests
on:
push:
branches:
- main
- v14
pull_request:
branches:
- main
- v14
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: python -m pip install .[dev]
- name: Install parallel test runner
run: python -m pip install unittest-parallel
- name: Run Tests
run: unittest-parallel --level test