Skip to content

Commit

Permalink
Update CI to check data migrations for conflicts (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkachel authored Aug 6, 2024
1 parent 8561611 commit fad72e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test/detect_missing_migrations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fail() {
exit 1
}

poetry run python ./manage.py makemigrations --no-input --dry-run >&"$TMPFILE"
RUN_DATA_MIGRATIONS=True poetry run python ./manage.py makemigrations --no-input --dry-run >&"$TMPFILE"
if [[ $? -ne 0 ]]; then
# makemigrations has returned a non-zero for some reason, possibly
# because it needs input but --no-input is set
Expand Down

0 comments on commit fad72e6

Please sign in to comment.