Support Python 3.10 to 3.14 #198
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: Test | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - uses: pre-commit/[email protected] | |
| - name: Test with pytest | |
| run: | | |
| uv run --extra tests pytest | |
| - name: Test readme notebook | |
| run: | | |
| uv run --extra readme jupyter nbconvert --to markdown README.ipynb | |
| - name: Test docs build | |
| run: | | |
| uv run --extra docs mkdocs build |