Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Use official postgres image on CI

Artur Smęt25b496264dba
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2fa6a0fb75..486ba1cf82 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -27,10 +27,10 @@ jobs:
- run:
name: Run tests
command: |
- docker run -d --name db circleci/postgres:latest
+ docker run -d --name db -e POSTGRES_USER=saleor -e POSTGRES_PASSWORD=saleor postgres:9.6-alpine
docker run --network container:db --rm -e DATABASE_URL -e DJANGO_SETTINGS_MODULE -e SECRET_KEY mirumee/saleor:latest pytest
environment:
- DATABASE_URL: postgres://root:@localhost:5432/circle_test
+ DATABASE_URL: postgres://saleor:saleor@localhost:5432/saleor
DJANGO_SETTINGS_MODULE: saleor.settings
SECRET_KEY: irrelevant
- deploy: