Skip to content
Snippets Groups Projects
Commit 380c3bed authored by Neda Moeini's avatar Neda Moeini
Browse files

Fixed postgresql database_url in .gitlab-ci

parent dae6a67f
No related branches found
No related tags found
No related merge requests found
Pipeline #83870 failed
......@@ -14,7 +14,8 @@ run-tox-pipeline:
image: python:3.10
services:
- postgres:latest
- name: postgres:15.4
alias: postgres
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
......@@ -22,7 +23,7 @@ run-tox-pipeline:
POSTGRES_DB: postgres
POSTGRES_USER: nwa
POSTGRES_PASSWORD: nwa
DATABASE_URL: 'postgresql://nwa:nwa@localhost:5432/postgres'
DATABASE_URI_TEST: 'postgresql://nwa:nwa@postgres:5432/postgres'
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Pip's cache doesn't store the python packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment