From 03690b9b000842201226ed18dca35e7ece37ac26 Mon Sep 17 00:00:00 2001 From: Logan-Chenavier Date: Mon, 18 Jan 2021 18:09:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20remove=20coment=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 44e9783..d95524f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,19 +35,19 @@ jobs: command: | . venv/bin/activate flask db upgrade - # - run: - # name: flask test - # environment: - # FLASK_APP: /home/circleci/repo/autoapp.py - # FLASK_DEBUG: 0 - # POSTGRES_USER: postgres - # POSTGRES_DB: bdtest - # POSTGRES_PASSWORD: somePwd - # POSTGRES_PORT: 5432 - # DATABASE_URL: postgresql://postgres:somePwd@localhost:5432/postgres - # command: | - # . venv/bin/activate - # flask test + - run: + name: flask test + environment: + FLASK_APP: /home/circleci/repo/autoapp.py + FLASK_DEBUG: 0 + POSTGRES_USER: postgres + POSTGRES_DB: bdtest + POSTGRES_PASSWORD: somePwd + POSTGRES_PORT: 5432 + DATABASE_URL: postgresql://postgres:somePwd@localhost:5432/postgres + command: | + . venv/bin/activate + flask test - run: docker container stop flask_db_test - run: docker container rm flask_db_test - run: unset DATABASE_URL