Merge pull request #426 from paritytrading/dependabot/maven/org.apach… #535
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.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
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 |