Commit graph

2 commits

Author SHA1 Message Date
Stefano Bertelli
a012635dff fix: remove unit tests redundant with e2e, fix test DB isolation
Some checks failed
Dev / test (push) Failing after 7m41s
Dev / docker (push) Has been skipped
Remove 7 test files fully covered by e2e tests (admin, account, models,
API routes, integration MFA/OIDC, notifications). Trim 5 more files to
keep only edge cases not reachable via e2e.

Fix conftest to replace wiregui.db engine/session at import time so all
code uses the test database. Use session-scoped tables with per-test
savepoint isolation to prevent data leaking between tests.
2026-03-31 21:27:46 -05:00
70eb9f6b12 fix: run migrations before unit tests in CI
Some checks failed
Dev / test (push) Failing after 2m37s
Dev / docker (push) Has been skipped
Some unit tests (test_api_deps, test_server_key) are integration tests
that need DB tables. Move alembic upgrade head before unit tests.
2026-03-31 17:02:49 -05:00