feat: Add healthcheck views + urls, typing, ruff linting, src layout #22
This file contains hidden or 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 Typing and Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Linting and Formatting | |
| steps: | |
| - name: Cloning repo | |
| uses: actions/checkout@v3 | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.12 | |
| - name: Install Dependencies | |
| run: poetry install --with dev | |
| - name: Check for missing migrations | |
| run: poetry run python manage.py makemigrations --no-input --dry-run --check | |
| - name: Check for new typing errors | |
| run: poetry run mypy . | |
| - name: Run Tests | |
| run: poetry run pytest |