Миграции и pipeline #13

Merged
pi3c merged 2 commits from feature/migrations-ci into dev 2026-05-10 10:26:49 +00:00
Owner
No description provided.
pi3c added 2 commits 2026-05-10 10:19:36 +00:00
- Add alembic dependency and initialize migration framework
- Configure async alembic env.py for SQLAlchemy 2.0
- Create initial migration for PostORM table
- Gate init_db() with SKIP_INIT_DB env var for CI/production
- Add PostgreSQL service to Woodpecker CI pipeline
- Create integration tests for migrations (TC-INT-001..002)
- Create integration tests for SQLAlchemyPostRepository (TC-INT-003..009)
- Add unit test for init_db skip behavior (TC-UNIT-901)
- All 176 tests pass, coverage 72.59%
ci: move coverage to separate pipeline step, add psycopg2-binary, fix E2E race
All checks were successful
ci/woodpecker/pr/pipeline Pipeline was successful
c790b6edc6
pi3c force-pushed feature/migrations-ci from ada161f5fc to c790b6edc6 2026-05-10 10:19:36 +00:00 Compare
pi3c merged commit 448da0396a into dev 2026-05-10 10:26:49 +00:00
pi3c deleted branch feature/migrations-ci 2026-05-10 10:26:50 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pi3c/blog.pyaqa.ru#13