Skip to content

Commit 5ef2e96

Browse files
authored
Update conda_build.yml
1 parent fe35c74 commit 5ef2e96

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/conda_build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ jobs:
3131
- name: Checkout code
3232
uses: actions/checkout@v4
3333

34+
- name: Setup Redis (macOS/Windows fallback)
35+
shell: bash
36+
run: |
37+
if [[ "${{ matrix.os }}" == "macos-latest" ]]; then
38+
brew install redis
39+
brew services start redis
40+
elif [[ "${{ matrix.os }}" == "windows-latest" ]]; then
41+
# Download and install Redis for Windows
42+
curl -L -o redis.zip https://github.com/tporadowski/redis/releases/download/v5.0.14.1/Redis-x64-5.0.14.1.zip
43+
unzip redis.zip -d redis
44+
cd redis && ./redis-server.exe --service-install --service-start
45+
fi
46+
3447
- name: Setup Miniconda
3548
uses: conda-incubator/setup-miniconda@v3
3649
with:

0 commit comments

Comments
 (0)