Commit 8387a1c3 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

Try to fix test by fixing Cache TTL to 0 and adding redis

parent 74b3ce0d
Pipeline #31562 passed with stages
in 3 minutes and 26 seconds
......@@ -40,10 +40,13 @@ test-backend:
image: $CI_REGISTRY_IMAGE/backend:${CI_COMMIT_REF_NAME}
services:
- postgres:11.4
- redis:alpine
stage: test
variables:
DATABASE_HOST: localhost
DJANGO_SETTINGS_MODULE: "metagenedb.settings-gitlab-ci"
REDIS_HOST: "localhost"
CACHE_TTL: "0"
script:
- apt-get install -y postgresql-client
- cd backend
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment