From 957e440f9234475b9c2f9f33dcfc062a76f3646e Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Wed, 6 Jan 2021 21:04:31 +0100 Subject: [PATCH] :sparkles: re-added test --- .circleci/config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b67547..583a927 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,26 @@ jobs: key: deps1-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} paths: - "venv" + test: + docker: + - image: circleci/python:3.7.9-stretch-browsers + environment: + DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb + - image: circleci/postgres:9.6.5-alpine + environment: + POSTGRES_USER: myUsr + POSTGRES_DB: psdb + POSTGRES_PASSWORD: somePwd + steps: + - checkout + - restore_cache: + key: deps1-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} + - run: + name: running test + command: | + . venv/bin/activate + flask db upgrade + flask test workflows: version: 2