Merge pull request #3 from techmo-pl/fix/remove-submodule-refs #8
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: Tests | |
| on: | |
| push: | |
| branches: ["main", "master"] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install system dependencies | |
| run: sudo apt-get install -y portaudio19-dev python3-dev build-essential | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| cache-dependency-glob: "pyproject.toml" | |
| - name: Install package | |
| run: ./install.sh | |
| - name: Run tests via tox | |
| run: | | |
| TOXENV="py$(echo '${{ matrix.python-version }}' | tr -d '.')" | |
| uvx --with "tox-uv>=1" tox -e "${TOXENV}" | |
| test-py314: | |
| name: Python 3.14 (allowed failure) | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install system dependencies | |
| run: sudo apt-get install -y portaudio19-dev python3-dev build-essential | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| cache-dependency-glob: "pyproject.toml" | |
| - name: Install package | |
| run: ./install.sh | |
| - name: Run tests via tox | |
| run: uvx --with "tox-uv>=1" tox -e py314 |