From 7498df5b98774ad745d44d2faaf353d787e854b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?= <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de> Date: Wed, 7 Dec 2022 00:25:35 +0100 Subject: [PATCH] Add static checks and migration dry-runs to CI --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73637ffc..653742b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,15 @@ before_script: - ./Utils/setup.sh --prod - mysql --version +check: + script: + - ./Utils/check.sh --all + +check-migrations: + script: + - source venv/bin/activate + - ./manage.py makemigrations --dry-run --check + test: script: - source venv/bin/activate -- GitLab