From f7cd1fabbc5088ed6debf666cc8b0539de4da977 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 16 Dec 2024 00:46:33 +0100 Subject: [PATCH] CI: add redis container --- .forgejo/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 595260f..c72d872 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -19,6 +19,8 @@ jobs: services: gisaf-database: image: code.philo.ydns.eu/philorg/gisaf-database + redis: + image: docker.io/redis:alpine steps: - name: Echo env if: ${{ inputs.verbose }} @@ -34,4 +36,4 @@ jobs: run: GISAF__DB__HOST=gisaf-database gisaf create-db - name: Run tests (API call) - run: GISAF__DB__HOST=gisaf-database pytest -s tests/basic.py -W ignore::DeprecationWarning + run: GISAF__DB__HOST=gisaf-database GISAF__GISAF_LIVE__REDIS=redis://redis pytest -s tests/basic.py -W ignore::DeprecationWarning