From 99c62af89e9e790022d75da96bee73b551887861 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 3 Dec 2021 10:05:21 +0100 Subject: [PATCH] ci: add check to ensure no migrations are missing Signed-off-by: Jens Langhammer --- .github/workflows/ci-main.yml | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 7d4a9433f..baf0430c9 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -28,6 +28,7 @@ jobs: - isort - bandit - pyright + - pending-migrations runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/Makefile b/Makefile index 1b9a85854..b2792c949 100644 --- a/Makefile +++ b/Makefile @@ -113,3 +113,6 @@ ci-bandit: ci-pyright: pyright e2e lifecycle + +ci-pending-migrations: + ./manage.py makemigrations --check