From d500c33b115d44b95acc98e2915896bd7e15a1e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?=
 <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de>
Date: Tue, 8 Aug 2023 13:11:37 +0200
Subject: [PATCH] Speed-up CI by merging static checks

For each job, the whole setup process has to be run. To reduce that impact, both static checks for code and migrations are run in one job
---
 .gitlab-ci.yml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5b138f5..53e961a2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,9 +28,6 @@ before_script:
 check:
   script:
     - ./Utils/check.sh --all
-
-check-migrations:
-  script:
     - source venv/bin/activate
     - ./manage.py makemigrations --dry-run --check
 
-- 
GitLab