File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,10 +130,8 @@ jobs:
130130 ./ietf/manage.py check
131131 ./ietf/manage.py migrate
132132 echo "Validating migrations..."
133- MSG=$(ietf/manage.py makemigrations 2>&1)
134- if ! ( echo ${MSG} | grep -q "^No changes detected$") ; then
133+ if ! ( ietf/manage.py makemigrations --dry-run --check --verbosity 3 ) ; then
135134 echo "Model changes without migrations found."
136- echo ${MSG}
137135 exit 1
138136 fi
139137 echo "Running tests..."
Original file line number Diff line number Diff line change 4444 ./ietf/manage.py check
4545 ./ietf/manage.py migrate
4646 echo "Validating migrations..."
47- MSG=$(ietf/manage.py makemigrations 2>&1)
48- if ! ( echo ${MSG} | grep -q "^No changes detected$") ; then
47+ if ! ( ietf/manage.py makemigrations --dry-run --check --verbosity 3 ) ; then
4948 echo "Model changes without migrations found."
5049 echo ${MSG}
5150 exit 1
You can’t perform that action at this time.
0 commit comments