Skip to content

Commit 0562918

Browse files
authored
ci: add setup.py to checksum for tox cache (#2451)
1 parent 441eb15 commit 0562918

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ commands:
8181
# In the cache key:
8282
# - .Environment.CIRCLE_JOB: We do separate tox environments by job name, so caching and restoring is
8383
# much faster.
84-
key: tox-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "tox.ini" }}
84+
key: tox-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "tox.ini" }}-{{ checksum "setup.py" }}
8585

8686
save_tox_cache:
8787
description: "Save .tox directory into cache for faster installs next time"
@@ -90,7 +90,7 @@ commands:
9090
# In the cache key:
9191
# - .Environment.CIRCLE_JOB: We do separate tox environments by job name, so caching and restoring is
9292
# much faster.
93-
key: tox-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "tox.ini" }}
93+
key: tox-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "tox.ini" }}-{{ checksum "setup.py" }}
9494
paths:
9595
- ".tox"
9696

0 commit comments

Comments
 (0)