瀏覽代碼

Check for missing migrations in pipeline

Vince Salvino 2 年之前
父節點
當前提交
926feb78e3
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      azure-pipelines.yml

+ 5 - 0
azure-pipelines.yml

@@ -97,6 +97,11 @@ stages:
     - script: coderedcms start testproject
       displayName: 'CR-QC: Generate a test project'
 
+    - script: |
+        cd testproject/
+        python manage.py makemigrations --check
+      displayName: 'CR-QC: Check migrations'
+
     - pwsh: ./ci/run-flake8.ps1
       displayName: 'CR-QC: Flake8'