Skip to content

Commit

Permalink
cci caching
Browse files Browse the repository at this point in the history
  • Loading branch information
hadrien committed Apr 5, 2021
1 parent 039950d commit 90b1dd4
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ orbs:
python: dialogue/[email protected]
utils: dialogue/[email protected]


workflows:
ci:
jobs:
Expand Down Expand Up @@ -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 <<parameters.sqlalchemy_version>>.*"
command: |
poetry run tox -e sqlalchemy<<parameters.sqlalchemy_version>>
- utils/with_cache:
key: '<<parameters.sqlalchemy_version>>-{{ 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 <<parameters.sqlalchemy_version>>.*"
command: |
poetry run tox -e sqlalchemy<<parameters.sqlalchemy_version>>
- utils/send_coverage_to_codecov:
codecov_flag: sqlalchemy<<parameters.sqlalchemy_version>>

Expand Down

0 comments on commit 90b1dd4

Please sign in to comment.