mirror of https://github.com/zulip/zulip.git
Add check_migrations() to tools/diagnose script.
This commit is contained in:
parent
cd16a26c9a
commit
7029917129
|
@ -99,3 +99,10 @@ def check_venv():
|
||||||
print('Your venv may be improperly installed!')
|
print('Your venv may be improperly installed!')
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@run
|
||||||
|
def check_migrations():
|
||||||
|
# type: () -> bool
|
||||||
|
print()
|
||||||
|
rc = subprocess.check_call('./tools/test-migrations')
|
||||||
|
return (rc == 0)
|
||||||
|
|
Loading…
Reference in New Issue