CI: add redis container
All checks were successful
/ test (push) Successful in 33s

This commit is contained in:
phil 2024-12-16 00:46:33 +01:00
parent a5b2f07ff2
commit f7cd1fabbc

View file

@ -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