Skip to content
Snippets Groups Projects
Commit 5e5b862a authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

USe both requirements-dev and requirements for cache key.

parent 167da3c5
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ jobs: ...@@ -87,7 +87,7 @@ jobs:
command: sudo chown -R circleci:circleci /usr/local command: sudo chown -R circleci:circleci /usr/local
- restore_cache: - restore_cache:
keys: keys:
- v4-python-{{ .Branch }}-{{ checksum "requirements-dev.txt" }} - v4-python-{{ .Branch }}-{{ checksum "requirements.txt" }}{{ checksum "requirements-dev.txt" }}
- v4-python-{{ .Branch }}- - v4-python-{{ .Branch }}-
- v4-python- - v4-python-
- run: - run:
...@@ -100,7 +100,7 @@ jobs: ...@@ -100,7 +100,7 @@ jobs:
- save_cache: - save_cache:
paths: paths:
- ./venv - ./venv
key: v4-python-{{ .Branch }}-{{ checksum "requirements-dev.txt" }} key: v4-python-{{ .Branch }}-{{ checksum "requirements.txt" }}{{ checksum "requirements-dev.txt" }}
- persist_to_workspace: - persist_to_workspace:
root: ~/repo root: ~/repo
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment