From 826ff481b9f6620b6cf8b69d85fdfde14c68e59f Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Fri, 28 Jun 2019 14:29:17 -0700 Subject: [PATCH] simpler package caching method Signed-off-by: Andrew Whitehead --- .circleci/config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 978ca5b792..16e6791ec3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,16 +12,15 @@ jobs: - run: name: Install Python Dependencies command: | - [ ! -d test-packages ] && mkdir test-packages pip install \ - --target test-packages \ + --user \ -r requirements.txt \ -r requirements.dev.txt \ pytest - save_cache: paths: - - test-packages + - .local/lib/python3.6/site-packages key: v2-pip-dependencies-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements.dev.txt" }} - run: @@ -29,7 +28,7 @@ jobs: command: | mkdir test-reports mkdir .coverage - PYTHONPATH="`pwd`/test-packages:$PYTHONPATH" pytest + pytest - run: name: Push to Codecov.io