check in CI that no migration is missing

This commit is contained in:
imperosol committed 2026-11-20 10:25:46 +01:00
1 parent bc06a9d91f
commit 342beb6c9b
2 files changed
+11 -3

No files matched your search

-3
View File
@@ -18,10 +18,7 @@ runs:
version: 1.0 # increment to reset cache
- name: Install Redis
if: ${{ inputs.full == 'true' }}
uses: shogo82148/actions-setup-redis@v1
with:
redis-version: "7.x"
- name: "Set up Python"
uses: actions/setup-python@v6
+11
View File
@@ -26,6 +26,17 @@ jobs:
with:
extra_args: --all-files
migration-check:
name: Check missing migrations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup_project
with:
full: false
- name: check migrations
run: uv run ./manage.py makemigrations --check
tests:
name: Run tests and generate coverage report
runs-on: ubuntu-latest