Skip to content
Snippets Groups Projects
Commit 1591a704 authored by Simon Künzel's avatar Simon Künzel
Browse files

Add postgres services for CI

parent eebacd42
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,11 @@ DB_DATA = "../config/db_test_data.sql"
DATABASE = {
"postgres": {
"database": "videoagtest"
"host": "ci-database",
"user": "videoagtest",
"password": "LetMeTest...",
"database": "videoagtest",
"auto_migration": True
},
"log_all_statements": False
}
......
......@@ -161,6 +161,12 @@ run-api-tests:
paths:
- /code/coverage/report.txt
- /code/coverage/html/*
services:
- name: postgres:17
alias: ci-database
variables:
POSTGRES_USER: videoagtest
POSTGRES_PASSWORD: LetMeTest...
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment