diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cecf323..8b2c589 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,4 +72,8 @@ jobs: env: DJANGO_SETTINGS_MODULE: efile.settings working-directory: efile_app - run: uv run pytest -q + run: | + # Keep the migration graph deployable. pytest uses --nomigrations, so + # the test suite alone would not catch conflicting migration leaves. + uv run python manage.py makemigrations --check --dry-run + uv run pytest -q diff --git a/efile_app/efile/migrations/0011_merge_jurisdiction_accounts_and_workflow.py b/efile_app/efile/migrations/0011_merge_jurisdiction_accounts_and_workflow.py new file mode 100644 index 0000000..9b10a71 --- /dev/null +++ b/efile_app/efile/migrations/0011_merge_jurisdiction_accounts_and_workflow.py @@ -0,0 +1,10 @@ +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("efile", "0003_jurisdiction_specific_accounts"), + ("efile", "0010_merge_amount_in_controversy_and_payment_migrations"), + ] + + operations = []