Fix allowed hosts setting variable #5
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: π¦ Basic Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| quality-checks: | |
| name: Quality Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π₯ Checkout code | |
| uses: actions/checkout@v4 | |
| - name: π Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: π¦ Install dependencies | |
| run: pip install -r requirements.txt | |
| - name: π¨ Run black (formatting) | |
| run: black --check . | |
| - name: π§Ή Run isort (import sorting) | |
| run: isort --check-only . | |
| - name: π§ Run mypy (type checking) | |
| run: mypy . | |
| - name: π Run pylint (linting) | |
| run: pylint **/*.py | |
| - name: π§ͺ Run tests with coverage | |
| run: coverage run manage.py test | |
| - name: π Generate coverage report (fail if <85%) | |
| run: coverage report --fail-under=85 |