Commit dec86351 authored by Michal Čihař's avatar Michal Čihař

Revert "Remove migration testing"

This reverts commit 5eb691fd.
parent 5eb691fd
#!/bin/sh
# Migration ordering testing
set -e
set -x
for app in trans lang accounts ; do
rm -f weblate.db
./manage.py migrate --noinput --settings weblate.settings_test sites
./manage.py migrate --settings weblate.settings_test --traceback $app
done
...@@ -4,5 +4,8 @@ set -e ...@@ -4,5 +4,8 @@ set -e
set -x set -x
./manage.py check ./manage.py check
if [ "$CI_DATABASE" = sqlite -o -z "$CI_DATABASE" ] ; then
./ci/migrate-testing
fi
./manage.py migrate --noinput --traceback ./manage.py migrate --noinput --traceback
coverage run --source=. ./manage.py test -v 2 $CI_RUN_TESTS coverage run --source=. ./manage.py test -v 2 $CI_RUN_TESTS
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment