Merge pull request #533 from paritytrading/dependabot/pip/application… #857
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: Python | |
on: | |
- push | |
- pull_request | |
permissions: | |
contents: read | |
jobs: | |
python: | |
name: ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
steps: | |
- name: Check out GitHub repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install development dependencies | |
run: pip install -r requirements.txt | |
working-directory: ./applications/generate | |
- name: Run type check | |
run: mypy philadelphia | |
working-directory: ./applications/generate | |
- name: Install application | |
run: pip install . | |
working-directory: ./applications/generate |