From 2e4abf3cdfcedd7940adc9b6639bce98da9f6b2a Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Sat, 7 Nov 2026 16:27:25 +0100 Subject: [PATCH] Check for missing and conflicting migrations in CI --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f92186d4..f0aa01564 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,12 @@ jobs: uv sync --group dev --python ${{ matrix.python-version }} mkdir /tmp/wger-test + # Missing migrations, and two heads in one app (on a PR this runs on the merge commit) + - name: Check the migrations + if: matrix.python-version == 3.13 + run: | + uv run ./manage.py makemigrations --check --dry-run + # Only run the tests with coverage for one version of python. - name: Test the application with coverage if: matrix.python-version == 3.13