Skip to content

Commit

Permalink
Fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
abagshaw committed Feb 26, 2018
1 parent 9e0a83b commit eb26956
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "test/requirements-testing.txt" }}
- v1-weights-{{ checksum "./bin/yolo.weights" }}

- run:
name: install dependencies
Expand All @@ -23,18 +23,17 @@ jobs:
name: install darkflow
command: |
pip install -e .
- save_cache:
paths:
- ./bin #Cache .weight files
key: v1-dependencies-{{ checksum "test/requirements-testing.txt" }}
# run tests!
- run:
name: run tests
command: |
pytest -x --cov=./
python manage.py test
- save_cache:
paths:
- ./bin #Cache .weight files
key: v1-weights-{{ checksum "./bin/yolo.weights" }}

- run:
name: upload coverage results
Expand Down

0 comments on commit eb26956

Please sign in to comment.