ci: detect sqlalchemy schema drift
Deploy / Deploy Production (push) Failing after 2095h15m58s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 2095h16m25s
Deploy / Deploy Staging (push) Has been cancelled

This commit is contained in:
Xiaoxia AI
2026-06-21 08:14:25 +08:00
parent 4a8703b037
commit 1c10c2d8af
5 changed files with 1527 additions and 8 deletions
+4 -3
View File
@@ -61,9 +61,9 @@ jobs:
- name: Run code quality checks
run: |
python -m compileall -q alembic apps packages tests
python -m black --check alembic apps packages tests
python -m isort --check-only alembic apps packages tests
python -m compileall -q alembic apps packages tests scripts/check_schema_metadata.py
python -m black --check alembic apps packages tests scripts/check_schema_metadata.py
python -m isort --check-only alembic apps packages tests scripts/check_schema_metadata.py
python -m flake8 apps packages tests --count --statistics
bandit -r apps packages -q
@@ -73,6 +73,7 @@ jobs:
python -m alembic upgrade head --sql > /tmp/alembic-upgrade.sql
test -s /tmp/alembic-upgrade.sql
grep -q "Running upgrade" /tmp/alembic-upgrade.sql
python scripts/check_schema_metadata.py
- name: Run tests
run: |