Commit d920497f authored by Cornee Traas's avatar Cornee Traas
Browse files

Parametrize database options, fix database name

parent 746a4052
Pipeline #1990 failed with stage
in 6 minutes and 6 seconds
......@@ -21,7 +21,7 @@ cache:
- db
variables:
POSTGRES_DB: test_coursera
POSTGRES_DB: coursera
POSTGRES_USER: user
POSTGRES_PASSWORD: ""
......@@ -36,7 +36,7 @@ runtests:
- mkdir -p db
- cd db
- wget -O coursera.sql -nc $DATABASE_FILE_URL
- psql -h postgres -U user -d test_coursera -f coursera.sql
- psql -h postgres -U $POSTGRES_USER -d $POSTGRES_DB -f coursera.sql
- cd ..
- python -V # Print out python version for debugging
- pip install pipenv
......
Markdown is supported
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