test: migrate db before checking for missing migrations. (#4341)
This commit is contained in:
parent
aa2f843725
commit
3532a4f28b
1
.github/workflows/ci-run-tests.yml
vendored
1
.github/workflows/ci-run-tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue