Skip to content

Commit

Permalink
Merge pull request #87 from RedisAI/ck-virtualenv-fix
Browse files Browse the repository at this point in the history
virtualenv fix for pypi cache issue
  • Loading branch information
gkorland committed Nov 4, 2021
2 parents 98708ee + 7942e51 commit a3d8aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,11 @@ commands:
build_and_test:
steps:
- checkout
- restore_cache: # Download and cache dependencies
keys:
- v1-dependencies-{{ checksum "pyproject.toml" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run:
name: install tox dependencies
command: |
pip install --user --upgrade pip virtualenv
pip install --user --quiet -r .circleci/circle_requirements.txt
- run:
Expand All @@ -66,13 +62,6 @@ commands:
command:
tox -e tests

- save_cache:
paths:
- ./.tox
- ~/.cache/pip
- ~/.cache/pypoetry
key: v1-dependencies-{{ checksum "pyproject.toml" }}

jobs:
build:
parameters:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude =.git,.tox,dist,doc,*/__pycache__/*
[testenv:tests]
whitelist_externals = find
commands_pre =
find . -type f -name "*.pyc" -delete
pip install --upgrade pip
commands =
nosetests -vsx test

Expand Down

0 comments on commit a3d8aaf

Please sign in to comment.