Skip to content

Commit

Permalink
BNCASB-2204: Adding caching step to fasten the circleci process
Browse files Browse the repository at this point in the history
  • Loading branch information
rohandev committed Jan 7, 2020
1 parent 07aed48 commit 5e1c811
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,19 @@ jobs:
steps:
- add_ssh_keys
- checkout
- restore_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
name: Install dependencies
command: sudo pip install -r development.txt
command: |
sudo pip install pipenv
pipenv install -r development.txt
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- "/usr/local/bin"
- "/usr/local/lib/python2.7/site-packages"
- run:
name: Run tests
command: python -m django test --settings=eb_sqs.test_settings
command: |
pipenv run python -m django test --settings=eb_sqs.test_settings

0 comments on commit 5e1c811

Please sign in to comment.