Просмотр исходного кода

Closes #14872: Extend CI workflow to check for missing Django migrations

Jeremy Stretch 2 лет назад
Родитель
Сommit
93a05289ad
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .github/workflows/ci.yml

+ 3 - 0
.github/workflows/ci.yml

@@ -68,6 +68,9 @@ jobs:
     - name: Collect static files
     - name: Collect static files
       run: python netbox/manage.py collectstatic --no-input
       run: python netbox/manage.py collectstatic --no-input
 
 
+    - name: Check for missing migrations
+      run: python netbox/manage.py makemigrations --check
+
     - name: Check PEP8 compliance
     - name: Check PEP8 compliance
       run: pycodestyle --ignore=W504,E501 --exclude=node_modules netbox/
       run: pycodestyle --ignore=W504,E501 --exclude=node_modules netbox/