Only check migrations for custom apps

This commit is contained in:
Ludovic Stephan 2021-02-18 17:30:28 +01:00
parent 46ef12309a
commit 7297baaf7e

View file

@ -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