run db migration in github ci
This commit is contained in:
parent
884407d6c8
commit
c748ab22e6
|
@ -77,6 +77,10 @@ jobs:
|
|||
poetry run black --check .
|
||||
poetry run flake8
|
||||
|
||||
- name: Run db migration
|
||||
run: |
|
||||
poetry run alembic upgrade head
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
poetry run pytest
|
||||
|
|
|
@ -34,7 +34,7 @@ with engine.connect() as conn:
|
|||
print(">>> pg_trgm can't be dropped, ignore")
|
||||
conn.execute("Rollback")
|
||||
|
||||
Base.metadata.create_all(engine)
|
||||
# Base.metadata.create_all(engine)
|
||||
|
||||
add_sl_domains()
|
||||
|
||||
|
|
Loading…
Reference in New Issue