Skip to content

Commit afabef0

Browse files
committed
Replaces Redis brew installation with docker compose
Switches from installing Redis via Homebrew to using docker compose for better consistency and isolation in CI environment. Removes manual Redis service management and verification steps in favor of docker compose's built-in wait functionality.
1 parent b99efba commit afabef0

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/CI.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,9 @@ jobs:
155155
uses: actions/checkout@v4
156156
with:
157157
fetch-depth: 0 # Fetch the full history
158-
- name: Install Redis
159-
run: |
160-
brew install redis
161-
brew services start redis
162-
# Wait for Redis to start
163-
sleep 3
164-
# Verify Redis is running
165-
redis-cli ping
158+
- name: Start Redis Services (docker-compose)
159+
working-directory: ./tests/RedisConfigs
160+
run: docker compose -f docker-compose.yml up -d --wait
166161
- name: Install .NET SDK
167162
uses: actions/setup-dotnet@v3
168163
with:

0 commit comments

Comments
 (0)