Skip to content

Merge pull request #113 from zeyus/dependabot/pip/mypy-1.18.2 #234

Merge pull request #113 from zeyus/dependabot/pip/mypy-1.18.2

Merge pull request #113 from zeyus/dependabot/pip/mypy-1.18.2 #234

Workflow file for this run

name: Lint, test and notify
permissions:
contents: read
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
- name: Install Python dependencies
run: uv sync --all-extras
- name: Print environment for debugging
run: |
uv run python --version
uv pip list
- name: Analysing the code with Flake8
run: uv run flake8
- name: Type checking with mypy
run: uv run mypy
- name: Run tests with pytest
run: uv run pytest