test: migrate db before checking for missing migrations. (#4341)

This commit is contained in:
Robert Sparks 2022-08-18 10:08:31 -05:00 committed by GitHub
parent aa2f843725
commit 3532a4f28b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,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