mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-06-10 14:34:57 +08:00
We need existing tables to run check on Django 1.9. Signed-off-by: Michal Čihař <michal@cihar.com>
20 lines
288 B
Bash
Executable file
Vendored
20 lines
288 B
Bash
Executable file
Vendored
#!/bin/sh
|
|
# Testsuite executor
|
|
|
|
. ci/lib
|
|
|
|
export TEST_MIGRATIONS=1
|
|
|
|
run_coverage ./manage.py migrate --noinput --traceback
|
|
check
|
|
|
|
unset TEST_MIGRATIONS
|
|
|
|
run_coverage ./manage.py collectstatic --noinput
|
|
check
|
|
|
|
run_coverage ./manage.py check
|
|
check
|
|
|
|
run_coverage ./manage.py test -v 2
|
|
check
|