Skip to content

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

Use DJANGO_SETTINGS_MODULE with pytest on CircleCI

Marcin Gębala97f7ddd1072a
diff --git a/.circleci/config.yml b/.circleci/config.yml
index eea42575c2..1341cdb322 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -28,7 +28,7 @@ jobs:
name: Run tests
command: |
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 SECRET_KEY mirumee/saleor:latest pytest
+ docker run --network container:db --rm -e DATABASE_URL -e DJANGO_SETTINGS_MODULE -e SECRET_KEY mirumee/saleor:latest pytest
environment:
DATABASE_URL: postgres://saleor:saleor@localhost:5432/saleor
SECRET_KEY: irrelevant