ci: do the USE_TZ migration dance for feat/tzaware tests (#4680)
This commit is contained in:
parent
1841d15104
commit
879bedb2c9
4
.github/workflows/ci-run-tests.yml
vendored
4
.github/workflows/ci-run-tests.yml
vendored
|
@ -43,6 +43,10 @@ jobs:
|
|||
run: |
|
||||
echo "Running checks..."
|
||||
./ietf/manage.py check
|
||||
echo "Running migrations with USE_TZ=False..."
|
||||
./ietf/manage.py migrate || true
|
||||
echo "USE_TZ = True" >> ./ietf/settings_local.py
|
||||
echo "Running migrations with USE_TZ=True..."
|
||||
./ietf/manage.py migrate
|
||||
echo "Validating migrations..."
|
||||
if ! ( ietf/manage.py makemigrations --dry-run --check --verbosity 3 ) ; then
|
||||
|
|
Loading…
Reference in a new issue