Add Python compatibility check #197
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: dist | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
jobs: | |
ci: | |
uses: robotpy/build-actions/.github/workflows/package-pure.yml@v2025 | |
with: | |
enable_sphinx_check: false | |
secrets: | |
META_REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} | |
PYPI_API_TOKEN: ${{ secrets.PYPI_PASSWORD }} | |
check-mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.13" | |
- name: Install requirements | |
run: | | |
pip --disable-pip-version-check install mypy editables hatchling hatch-vcs types-paramiko wheel | |
pip --disable-pip-version-check install --no-build-isolation -e . | |
- name: Run mypy | |
uses: liskin/gh-problem-matcher-wrap@v2 | |
with: | |
linters: mypy | |
run: mypy --show-column-numbers robotpy_installer |