From 7297baaf7ee00e20f71420b72d793bca5d922f2e Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Thu, 18 Feb 2021 17:30:28 +0100 Subject: [PATCH] Only check migrations for custom apps --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 018830a3..e00ccbb4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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