Permalink
Browse files

Use --check option to check for test project's migrations.

  • Loading branch information...
atombrella committed Feb 24, 2018
1 parent 2a1745c commit b5025617a00385ae4170da0d05fe72624d6babaf
Showing with 1 addition and 3 deletions.
  1. +1 −3 tox.ini
@@ -26,9 +26,7 @@ passenv =
SELENIUM_SHOW_BROWSER
commands =
# Test that there are no migrations needed -- on Django 1.11, we can
# use --check and remove the '!' which likely doesn't work on Windows
sh -c '! testproject/manage.py makemigrations --dry-run --exit --noinput'
sh -c 'testproject/manage.py makemigrations --check'
pytest --basetemp={envtmpdir} --ds=tests.settings --cov={envsitepackagesdir}/wiki --cov-config .coveragerc {posargs}
usedevelop = false

0 comments on commit b502561

Please sign in to comment.