Add cache

This commit is contained in:
Jake Howard 2018-09-10 21:13:54 +01:00
parent b5d040e1ce
commit 76e74f4139
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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