Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Save dev dependencies to CircleCI's cache (#371)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #371

Fix the ordering to save to cache after installing dev dependencies

Reviewed By: vreis

Differential Revision: D19713848

fbshipit-source-id: 7efc403b55150f3d8ef052b5f64ee95f546aa2b7
  • Loading branch information
mannatsingh authored and facebook-github-bot committed Feb 4, 2020
1 parent bde21e9 commit d97ae6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v2-cpu-dependencies-{{ checksum "requirements.txt" }}
- v3-cpu-dependencies-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v2-cpu-dependencies-
- v3-cpu-dependencies-

- <<: *install_dep

- <<: *install_dev_dep

- save_cache:
paths:
- ~/venv
key: v2-cpu-dependencies-{{ checksum "requirements.txt" }}

- <<: *install_dev_dep
key: v3-cpu-dependencies-{{ checksum "requirements.txt" }}

- <<: *run_tests

Expand Down

0 comments on commit d97ae6c

Please sign in to comment.