Updated to use Redis Stack container.

This commit is contained in:
Simon Prickett 2022-03-30 09:54:05 +01:00
parent 04dcced822
commit 3030a70b6c

View file

@ -74,11 +74,11 @@ jobs:
matrix: matrix:
os: [ ubuntu-latest ] os: [ ubuntu-latest ]
pyver: [ 3.6, 3.7, 3.8, 3.9, pypy3 ] pyver: [ 3.6, 3.7, 3.8, 3.9, pypy3 ]
redismod: [ "preview" ] redisstack: [ "latest" ]
fail-fast: false fail-fast: false
services: services:
redis: redis:
image: redislabs/redismod:${{ matrix.redismod }} image: redis/redis-stack:${{ matrix.redisstack }}
ports: ports:
# Maps port 6379 on service container to the host # Maps port 6379 on service container to the host
- 6379:6379 - 6379:6379
@ -134,7 +134,7 @@ jobs:
#---------------------------------------------- #----------------------------------------------
- name: Install library - name: Install library
run: poetry install --no-interaction run: poetry install --no-interaction
- name: Run unittests (redismod:${{ matrix.redismod }}, ${{ matrix.os }}) - name: Run unittests (redisstack:${{ matrix.redisstack }}, ${{ matrix.os }})
env: env:
REDIS_OM_URL: "redis://localhost:6379?decode_responses=True" REDIS_OM_URL: "redis://localhost:6379?decode_responses=True"
run: | run: |