forked from DGNum/gestioCOF
Only check migrations for custom apps
This commit is contained in:
parent
46ef12309a
commit
7297baaf7e
1 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,9 @@ variables:
|
|||
# psql password authentication
|
||||
PGPASSWORD: $POSTGRES_PASSWORD
|
||||
|
||||
# apps to check migrations for
|
||||
MIGRATION_APPS: "bda bds clubs events gestioncof gestioncof.cms kfet kfet.auth kfet.cms kfet.open petitscours shared"
|
||||
|
||||
.test_template:
|
||||
before_script:
|
||||
- mkdir -p vendor/{pip,apt}
|
||||
|
@ -82,7 +85,7 @@ migration_checks:
|
|||
- cp gestioasso/settings/secret_example.py gestioasso/settings/secret.py
|
||||
- pip install --upgrade -r requirements-devel.txt
|
||||
- python --version
|
||||
script: python manage.py makemigrations --dry-run --check
|
||||
script: python manage.py makemigrations --dry-run --check $MIGRATION_APPS
|
||||
services:
|
||||
# this should not be necessary…
|
||||
- postgres:11.7
|
||||
|
|
Loading…
Reference in a new issue