fix: run migrations before looking for missing ones while bulding (#4350)

This commit is contained in:
Robert Sparks 2022-08-22 11:15:45 -05:00 committed by GitHub
parent 17786527d4
commit b8aa52f33a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,6 +128,7 @@ jobs:
run: |
echo "Running checks..."
./ietf/manage.py check
./ietf/manage.py migrate
echo "Validating migrations..."
MSG=$(ietf/manage.py makemigrations 2>&1)
if ! ( echo ${MSG} | grep -q "^No changes detected$") ; then