diff --git a/.github/workflows/build-redis-plus-plus.yml b/.github/workflows/build-and-test.yml similarity index 83% rename from .github/workflows/build-redis-plus-plus.yml rename to .github/workflows/build-and-test.yml index df6150a..a4ed0b1 100644 --- a/.github/workflows/build-redis-plus-plus.yml +++ b/.github/workflows/build-and-test.yml @@ -1,4 +1,4 @@ -name: Build redis-plus-plus +name: build and test on: push: @@ -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 @@ -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 diff --git a/README.md b/README.md index fa69a76..158a8e6 100644 --- a/README.md +++ b/README.md @@ -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).