Add cache
This commit is contained in:
parent
b5d040e1ce
commit
76e74f4139
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,12 @@ jobs:
|
||||||
working_directory: ~/dotfiles
|
working_directory: ~/dotfiles
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
||||||
- run: pipenv install
|
- run: pipenv install
|
||||||
|
- save_cache:
|
||||||
|
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
||||||
|
paths:
|
||||||
|
- "/home/circleci/.local/share/virtualenvs"
|
||||||
- run: pipenv run test
|
- run: pipenv run test
|
||||||
- run: pipenv run check
|
- run: pipenv run check
|
||||||
|
|
Loading…
Reference in a new issue