diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 309a6c50..8bb04043 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -21,6 +21,11 @@ jobs: python-version: 3.11.1 - name: Install dependencies run: pip install pip-tools && pip-sync && playwright install + - name: Check no missing migrations + run: python manage.py makemigrations --check --dry-run > /dev/null + env: + SECRET_KEY: NOT_A_REAL_SECRET + DATABASE_URL: postgres://postgres:postgres@localhost/github_actions - name: Run ruff run: ruff check . - name: Run ruff format diff --git a/core/models.py b/core/models.py index 0b7c5461..c59aba80 100644 --- a/core/models.py +++ b/core/models.py @@ -18,3 +18,4 @@ class Meta: complement_fonction = models.TextField(blank=True) telephone = models.CharField(max_length=20, blank=True) mobile = models.CharField(max_length=20, blank=True) + test = models.EmailField() \ No newline at end of file