From f1ed0d5f6ca867d3264ec664fdee1189656efde5 Mon Sep 17 00:00:00 2001 From: Lars Hampe Date: Tue, 5 Nov 2024 15:40:06 +0100 Subject: [PATCH] ci: add redis for testing --- .gitea/workflows/test.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 16bb341..9abcb47 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -6,6 +6,9 @@ jobs: build: runs-on: ubuntu-latest services: + redis: + image: redis:7.4.1-alpine + command: redis-server --save 20 1 --loglevel warning --requirepass development postgres: image: postgres:17-alpine @@ -44,4 +47,6 @@ jobs: run: bun test:api env: NODE_ENV: test - POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres \ No newline at end of file + POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres + REDIS_URL: redis://redis:6379 + REDIS_PASSWORD: development \ No newline at end of file