Bump mypy from 1.15.0 to 1.18.2 #233
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |