From 90b1dd4bf93a74c7341d9b36f7ba9e9fbb07345c Mon Sep 17 00:00:00 2001 From: Hadrien David Date: Mon, 5 Apr 2021 09:27:20 -0400 Subject: [PATCH] cci caching --- .circleci/config.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c48fc390..34c6ba44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,6 @@ orbs: python: dialogue/python@2.12.1 utils: dialogue/utils@3.2.6 - workflows: ci: jobs: @@ -62,15 +61,19 @@ jobs: steps: - base/setup - python/setup - - run: - name: "install tox" - command: | - poetry run pip install -U tox - - run: - name: "run tox using sqlalchemy <>.*" - command: | - poetry run tox -e sqlalchemy<> - + - utils/with_cache: + key: '<>-{{ checksum "pyproject.toml" }}-{{ checksum "poetry.lock" }}' + namespace: tox + path: ~/project/.tox + steps: + - run: + name: "install tox" + command: | + poetry run pip install -U tox + - run: + name: "run tox using sqlalchemy <>.*" + command: | + poetry run tox -e sqlalchemy<> - utils/send_coverage_to_codecov: codecov_flag: sqlalchemy<>