From 3cdc6d5206ffd61ab38497fd55ba3f6fbfc305a8 Mon Sep 17 00:00:00 2001 From: tchawou-daniel Date: Fri, 15 Jan 2021 15:54:55 +0100 Subject: [PATCH] add env --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index daba294..7fe1775 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,9 +20,6 @@ jobs: docker: - image: circleci/python:3.7.4 environment: - CONDUIT_SECRET: 'something-really-secret' - FLASK_APP: autoapp.py - FLASK_DEBUG: 1 DATABASE_URL: postgresql://myuser:somePwd@localhost:5432/myuser - image: circleci/postgres:9.6.5-alpine-ram environment: @@ -40,6 +37,9 @@ jobs: command: | . venv/bin/activate sleep 1 + export CONDUIT_SECRET='something-really-secret' + export FLASK_APP=/path/to/autoapp.py + export FLASK_DEBUG=1 flask db upgrade - run: name: flask test