From 82e9db2eb019e29b130a38e818ffba02a14bbf32 Mon Sep 17 00:00:00 2001 From: Julien Dudek Date: Sat, 9 Jan 2021 16:30:40 +0100 Subject: [PATCH] :green_heart: another test --- .circleci/config.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c1e897b..1558e0a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,15 +29,21 @@ jobs: - run: sudo chown -R circleci:circleci /usr/local/bin - run: sudo chown -R circleci:circleci /usr/local/lib/python3.8/site-packages - restore_cache: - # Read about caching dependencies: https://circleci.com/docs/2.0/caching/ - key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }} + key: deps-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} - run: command: | - export FLASK_APP=autoapp.py - export FLASK_DEBUG: 1 pip install -r requirements/dev.txt --user flask db upgrade + sleep 1 flask test + environment: + CONDUIT_SECRET: 'something-really-secret' + FLASK_APP: /home/circleci/repo/autoapp.py + FLASK_DEBUG: 1 + - save_cache: + key: deps-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} + paths: + - "venv" back-deploy-heroku: docker: - image: buildpack-deps:trusty