Skip to content

perf: replace polling loop with event-driven waiting for process output #92

perf: replace polling loop with event-driven waiting for process output

perf: replace polling loop with event-driven waiting for process output #92

Workflow file for this run

name: Test
on:
- pull_request
- workflow_dispatch
jobs:
tests:
name: ${{ matrix.os.name }} ${{ matrix.python }}
runs-on: ${{ matrix.os.runs-on }}
strategy:
fail-fast: false
matrix:
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
os:
- name: Linux
matrix: linux
runs-on: [ubuntu-latest]
- name: macOS
matrix: macos
runs-on: [macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: 📦 Install uv
run: |
pipx install uv
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Install dependencies
run: uv sync
- name: Run pyallel
run: |
source .venv/bin/activate && \
pyallel --colour yes -- MYPY_FORCE_COLOR=1 mypy . :: pytest --color=yes -s .