memos/.github/workflows
Johnny e082adf7b6 fix: set DRIVER=sqlite in CI to prevent TestMain from spawning child processes
Problem:
- store/test/TestMain checks if DRIVER env var is set
- If not set, it runs tests for all 3 drivers (sqlite, mysql, postgres)
  by spawning child 'go test' processes
- This conflicts with t.Parallel() in individual tests
- CI workflow didn't set DRIVER, triggering multi-driver execution

Solution:
- Set DRIVER=sqlite in GitHub Actions workflow
- TestMain will run tests once with SQLite driver
- Tests run in parallel with t.Parallel() as intended
- Avoids spawning child processes and race conditions

Why SQLite:
- Fastest test execution (no container startup)
- Sufficient for CI validation
- MySQL/Postgres can be tested locally when needed

This fixes the 'table already exists' errors and test flakiness
in CI while maintaining parallel execution benefits.
2026-01-14 22:50:30 +08:00
..
backend-tests.yml fix: set DRIVER=sqlite in CI to prevent TestMain from spawning child processes 2026-01-14 22:50:30 +08:00
build-and-push-canary-image.yml fix: correct manifest merge step in workflows 2026-01-14 22:28:26 +08:00
build-and-push-stable-image.yml fix: correct manifest merge step in workflows 2026-01-14 22:28:26 +08:00
demo-render-deploy.yml chore: unify action names 2025-06-11 23:39:29 +08:00
frontend-tests.yml chore: bump actions/setup-node from 4 to 5 (#5134) 2025-10-22 22:41:45 +08:00
proto-linter.yml chore: bump actions/checkout from 4 to 5 (#5052) 2025-09-02 22:56:08 +08:00
stale.yml chore: bump actions/stale from 9.1.0 to 10.0.0 (#5136) 2025-10-22 19:23:25 +08:00