Skip to content

Commit

Permalink
Fix build-and-test GitHub Action (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
sewenew committed Jan 6, 2024
1 parent e3562ef commit 0c360ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build redis-plus-plus
name: build and test

on:
push:
Expand Down Expand Up @@ -40,8 +40,8 @@ jobs:
- name: redis-dep
run: |
wget -L https://github.com/redis/redis/archive/refs/tags/7.2.3.zip -O redis-7.2.3.zip && unzip redis-7.2.3.zip
cd redis-7.2.3 && make -j2 && ./src/redis-server &>/dev/null & && cd ..
cd redis-7.2.3 && make -j2 && ./src/redis-server --port 7000 --cluster-enabled yes --cluster-config-file nodes-7000.conf --daemonize yes && ./src/redis-server --port 7001 --cluster-enabled yes --cluster-config-file nodes-7001.conf --daemonize yes && ./src/redis-server --port 7002 --cluster-enabled yes --cluster-config-file nodes-7002.conf --daemonize yes && ./src/redis-cli --cluster-yes --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 && ./src/redis-server --daemonize yes
- name: hiredis-dep
run: |
wget -L https://github.com/redis/hiredis/archive/master.zip -O hiredis-master.zip && unzip hiredis-master.zip && mkdir -p ${{ github.workspace }}/install
Expand Down Expand Up @@ -72,4 +72,4 @@ jobs:

- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: ./test/test_redis++ -h 127.0.0.1 -p 6379
run: ./test/test_redis++ -h 127.0.0.1 -p 6379 -n 127.0.0.1 -c 7000
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# redis-plus-plus

[![Build Status](https://github.com/sewenew/redis-plus-plus/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/sewenew/redis-plus-plus/actions/workflows/build-and-test.yml)

[中文交流群](https://github.com/sewenew/redis-plus-plus/blob/master/Chinese.md)

I create a Redis module, named [redis-llm](https://github.com/sewenew/redis-llm), which integrates LLMs (Large Language Models) with Redis. You can [learn redis-plus-plus by asking questions with it](https://github.com/sewenew/redis-llm/tree/main/examples/search-application).
Expand Down

0 comments on commit 0c360ea

Please sign in to comment.