Skip to content

Commit 1ff8c6f

Browse files
committed
Redis url and password setup for testing
1 parent 5550cc8 commit 1ff8c6f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/lint-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
run: COVERAGE_FILE=.coverage.py${{ matrix.python_version }}.integration uv run coverage run -m pytest ./tests/integration/ -m "not tuner"
145145
env:
146146
RABBITMQ_URL: amqp://user:password@localhost:5672/
147+
REDIS_URL: redis://user:password@localhost:6379/
147148
RAY_ENABLE_UV_RUN_RUNTIME_ENV: 0
148149
PLUGBOARD_IO_READ_TIMEOUT: 5.0
149150

@@ -183,6 +184,7 @@ jobs:
183184
run: COVERAGE_FILE=.coverage.py${{ matrix.python_version }}.integration.tuner uv run coverage run -m pytest ./tests/integration/ -m "tuner"
184185
env:
185186
RABBITMQ_URL: amqp://user:password@localhost:5672/
187+
REDIS_URL: redis://user:password@localhost:6379/
186188
RAY_ENABLE_UV_RUN_RUNTIME_ENV: 0
187189
PLUGBOARD_IO_READ_TIMEOUT: 5.0
188190

compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ services:
3434
redis:
3535
image: redis:8.6-alpine
3636
container_name: redis
37+
environment:
38+
- REDIS_PASSWORD=password
3739
command: redis-server --bind 0.0.0.0 --protected-mode no
3840
ports:
3941
- 6379:6379

0 commit comments

Comments
 (0)