Skip to content

Commit d2da7f1

Browse files
committed
lifting bloom changes to redisgraph-py, circle deps come from the cirlce folder
1 parent e9d30ac commit d2da7f1

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

.circleci/circle_requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
poetry>=1.1.6
2+
tox>=3.23.1
3+
tox-poetry>=0.3.0

.circleci/config.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,31 @@ commands:
4040
- abort_for_docs
4141
- abort_for_noci
4242
- checkout
43-
- run:
44-
name: install poetry
45-
command: |
46-
pip install --user --quiet poetry
43+
44+
- restore_cache: # Download and cache dependencies
45+
keys:
46+
- v1-dependencies-{{ checksum "pyproject.toml" }}
47+
# fallback to using the latest cache if no exact match is found
48+
- v1-dependencies-
4749

4850
- run:
49-
name: build
51+
name: install tox dependencies
5052
command: |
51-
poetry build --format sdist
52-
poetry build --format wheel
53+
pip install --user --quiet -r .circleci/circle_requirements.txt
5354
5455
- save_cache:
5556
paths:
5657
- ./.tox
58+
- ~/.cache/pip
5759
key: v1-dependencies-{{ checksum "pyproject.toml" }}
5860

61+
62+
- run:
63+
name: build
64+
command: |
65+
poetry build --format sdist
66+
poetry build --format wheel
67+
5968
- run:
6069
name: lint
6170
command: |
@@ -71,7 +80,7 @@ commands:
7180

7281
- early_return_for_forked_pull_requests
7382
- run:
74-
name: codecove
83+
name: codecov
7584
command: |
7685
. .tox/func/bin/activate
7786
codecov --file .tox/cover/report/coverage.xml --name ${CODECOV_NAME}-unittests

0 commit comments

Comments
 (0)