Now use postgres in tests
This commit is contained in:
parent
8ad33786ed
commit
c7636c9528
3 changed files with 19 additions and 15 deletions
|
|
@ -11,11 +11,14 @@ stages:
|
|||
- deploy
|
||||
|
||||
test_api:
|
||||
services:
|
||||
- postgres:9.4
|
||||
stage: test
|
||||
image: funkwhale/funkwhale:base
|
||||
variables:
|
||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
|
||||
DATABASE_URL: "sqlite://"
|
||||
DATABASE_URL: "postgresql://postgres@postgres/postgres"
|
||||
|
||||
before_script:
|
||||
- python3 -m venv --copies virtualenv
|
||||
- source virtualenv/bin/activate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue