Skip to content

Commit 9701455

Browse files
committed
ci: добавить проверку Alembic drift
- В тестовый job добавлен шаг uv run alembic check - CI теперь падает, если модели изменены без миграции
1 parent 8244f3f commit 9701455

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
- name: Install dependencies
8080
run: uv sync --frozen --dev
8181

82+
- name: Check Alembic drift
83+
run: uv run alembic check
84+
8285
- name: Run tests with coverage
8386
run: uv run pytest -q --cov=app --cov-report=term-missing --cov-report=xml --junitxml=pytest.xml
8487

0 commit comments

Comments
 (0)