fix: run alembic migrations before E2E tests in CI
Some checks failed
CI / test (push) Failing after 2m8s
CI / release (push) Has been skipped
CI / docker (push) Has been skipped

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:
Stefano Bertelli 2026-03-30 22:29:55 -05:00
parent 5adb0c86ce
commit e59ba0dfe5

View file

@ -44,7 +44,9 @@ jobs:
run: uv run pytest tests/ --ignore=tests/e2e -v --tb=short run: uv run pytest tests/ --ignore=tests/e2e -v --tb=short
- name: Run E2E tests - 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: release:
needs: test needs: test