ci: add py313 to test matrix (#516) #2608
This file contains 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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
mypy: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: pip | |
- uses: liskin/gh-problem-matcher-wrap@v3 | |
with: | |
action: add | |
linters: mypy | |
- run: pip install -e '.[dev]' | |
- name: mypy | |
run: mypy --show-column-numbers transmission_rpc | |
pre-commit: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- run: pip install -e '.[dev]' | |
- uses: trim21/actions/pre-commit@master | |
sphinx: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: pip | |
- run: pip install -e '.[dev]' | |
- run: sphinx-build -W docs/ dist/ |