Skip to content

Commit

Permalink
Print missing migrations in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mgax committed Mar 26, 2024
1 parent 1e84892 commit b33a9e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/init-test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/sh -e

set -x

python /app/manage.py migrate --no-input
python /app/manage.py createcachetable
python /app/manage.py collectstatic --no-input
pytest --cov --cov-report=xml
if [ -d /coverage ]; then cp .coverage coverage.xml /coverage/; fi
python /app/manage.py makemigrations --check --dry-run --no-input
python /app/manage.py makemigrations --dry-run --no-input
python /app/manage.py makemigrations --check --no-input

0 comments on commit b33a9e7

Please sign in to comment.