Skip to content

Commit 85cfd4f

Browse files
SimplicityGuyclaude
andcommitted
ci: add Redis sidecar to tests workflow (D-30)
Phase 26 introduced 11 integration tests (test_agent_task_router.py, test_agent_tracklists.py) that require live Redis at PHAZE_REDIS_URL. SAQ Queue.from_url is not compatible with fakeredis at saq>=0.26.3, so these tests have no fakeredis fallback and were failing in CI. Adds redis:7-alpine service container and PHAZE_REDIS_URL env, mirroring the existing postgres service pattern. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 60c2a68 commit 85cfd4f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,19 @@ jobs:
3030
--health-interval 5s
3131
--health-timeout 5s
3232
--health-retries 5
33+
redis:
34+
image: redis:7-alpine
35+
ports:
36+
- 6379:6379
37+
options: >-
38+
--health-cmd "redis-cli ping"
39+
--health-interval 5s
40+
--health-timeout 5s
41+
--health-retries 5
3342
env:
3443
DATABASE_URL: >-
3544
postgresql+asyncpg://phaze:phaze@localhost:5432/phaze_test
45+
PHAZE_REDIS_URL: redis://localhost:6379/0
3646
steps:
3747
- name: 🔀 Checkout repository
3848
uses: actions/checkout@v6

0 commit comments

Comments
 (0)