feat: Prometheus support, core entrypoint, packaging improvements #38
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 Checks and Unit Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Python Checks and Unit Tests | |
| 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 |