From 76e74f413907e86b997e625050655530f9a8d93b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 10 Sep 2018 21:13:54 +0100 Subject: [PATCH] Add cache --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 06e9646..644c06f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,6 +7,12 @@ jobs: working_directory: ~/dotfiles steps: - checkout + - restore_cache: + key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }} - run: pipenv install + - save_cache: + key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }} + paths: + - "/home/circleci/.local/share/virtualenvs" - run: pipenv run test - run: pipenv run check