fix: run alembic migrations before E2E tests in CI
The unit tests drop all tables on teardown, so the E2E step needs to recreate the schema via alembic before running.
This commit is contained in:
parent
5adb0c86ce
commit
e59ba0dfe5
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ jobs:
|
|||
run: uv run pytest tests/ --ignore=tests/e2e -v --tb=short
|
||||
|
||||
- name: Run E2E tests
|
||||
run: uv run pytest tests/e2e/ -v --tb=short
|
||||
run: |
|
||||
uv run alembic upgrade head
|
||||
uv run pytest tests/e2e/ -v --tb=short
|
||||
|
||||
release:
|
||||
needs: test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue