From 436c419d6454a2a8059b0a996cc1bdcf16b2eb7a Mon Sep 17 00:00:00 2001 From: guidezSeb Date: Sat, 16 Jan 2021 17:10:02 +0100 Subject: [PATCH] :bulb: comment test --- .circleci/config.yml | 58 ++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f1da9d8..a903a5d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,35 +22,35 @@ jobs: key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} paths: - "venv" - test: - docker: - - image: circleci/python:3.9-buster-node-browsers - environment: - DATABASE_URL: postgresql://myUser:myPassword@localhost:5432/my_database_postgres - FLASK_APP: autoapp.py - CONDUIT_SECRET: 'something-really-secret' - FLASK_DEBUG: 1 - - image: circleci/postgres:9.6.2-alpine - environment: - POSTGRES_USER: myUser - POSTGRES_DB: my_database_postgres - POSTGRES_PASSWORD: myPassword - steps: - - checkout - - restore_cache: - key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} - - run: - name: Waiting postgresql - command : dockerize -wait tcp://localhost:5432 -timeout 1m - - run: - name: Activate tests - command: . venv/bin/activate - - run: - name: Launching upgrade - command: flask db upgrade - - run: - name: Launching tests - command: flask test + # test: + # docker: + # - image: circleci/python:3.9-buster-node-browsers + # environment: + # DATABASE_URL: postgresql://myUser:myPassword@localhost:5432/my_database_postgres + # FLASK_APP: autoapp.py + # CONDUIT_SECRET: 'something-really-secret' + # FLASK_DEBUG: 1 + # - image: circleci/postgres:9.6.2-alpine + # environment: + # POSTGRES_USER: myUser + # POSTGRES_DB: my_database_postgres + # POSTGRES_PASSWORD: myPassword + # steps: + # - checkout + # - restore_cache: + # key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} + # - run: + # name: Waiting postgresql + # command : dockerize -wait tcp://localhost:5432 -timeout 1m + # - run: + # name: Activate tests + # command: . venv/bin/activate + # - run: + # name: Launching upgrade + # command: flask db upgrade + # - run: + # name: Launching tests + # command: flask test deploy-heroku: docker: