From 6de14bd451dd4e82169eb3225bc71d2d444966e6 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sun, 17 Jan 2021 22:48:03 +0100 Subject: [PATCH] :heart: fix cache restore 4 --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 86b13ff..eb189e9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,7 @@ jobs: # A basic unit of work in a run # - 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: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} + key: deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} - run: command: | python3 -m venv venv @@ -39,7 +39,7 @@ jobs: # A basic unit of work in a run FLASK_DEBUG: 1 DATABASE_URL: postgresql://circle_test:pwd@localhost:5432/circle_test - save_cache: # cache Python dependencies using checksum of Pipfile as the cache-key - key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} + key: deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} paths: - "venv" @@ -63,7 +63,7 @@ jobs: # A basic unit of work in a run - checkout - restore_cache: keys: - - deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} + - deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} - deps9-{{ .Branch }}- - run: command: | @@ -77,7 +77,7 @@ jobs: # A basic unit of work in a run DATABASE_URL: postgresql://circle_test:pwd@localhost:5432/circle_test - save_cache: # cache Python dependencies using checksum of Pipfile as the cache-key - key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} + key: deps9-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} paths: - "venv" heroku: