diff --git a/.circleci/config.yml b/.circleci/config.yml index 27836f0..8a25171 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,15 +46,10 @@ commands: - abort_for_noci - 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 --quiet --upgrade pip virtualenv pip install --user --quiet -r .circleci/circle_requirements.txt - run: @@ -79,13 +74,6 @@ commands: command: tox -e cover - - save_cache: - paths: - - ./.tox - - ~/.cache/pip - - ~/.cache/pypoetry - key: v1-dependencies-{{ checksum "pyproject.toml" }} - jobs: build: parameters: diff --git a/tox.ini b/tox.ini index f6d5cdc..bf6096b 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ exclude =.git,.tox,dist,doc,*/__pycache__/*,*test*.py [testenv:cover] whitelist_externals = find commands_pre = - find . -type f -name "*.pyc" -delete + pip install --upgrade pip setenv = REDIS_PORT = 6379 commands =