Add missing environment variables
This commit is contained in:
parent
3b6bfc639a
commit
ecc88a16ec
1 changed files with 11 additions and 1 deletions
|
|
@ -2,12 +2,22 @@ when:
|
|||
- event: push
|
||||
|
||||
services:
|
||||
- image: postgres:15
|
||||
- name: postgres
|
||||
image: postgres:15
|
||||
environment:
|
||||
POSTGRES_NAME: newsreader
|
||||
POSTGRES_USER: newsreader
|
||||
- image: memcached:1.5.22
|
||||
|
||||
steps:
|
||||
- name: python tests
|
||||
image: python:3.11
|
||||
environment:
|
||||
DJANGO_SETTINGS_MODULE: "newsreader.conf.gitlab"
|
||||
POSTGRES_HOST: postgres
|
||||
POSTGRES_DB: newsreader
|
||||
POSTGRES_NAME: newsreader
|
||||
POSTGRES_USER: newsreader
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --extra testing --extra ci
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue