.github/workflows/typing.yml #1641
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
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '30 13 * * *' | |
jobs: | |
mypy: | |
strategy: | |
fail-fast: false | |
matrix: | |
py: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
runs-on: 'ubuntu-22.04' | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.py }} | |
allow-prereleases: ${{ matrix.py == '3.13' && true || false }} | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
python -m pip install --require-hashes -r ci/requirements.txt | |
- name: Run mypy | |
run: | | |
mypy tests/*.py zstandard/*.py |