Skip to content

Commit 8eee3db

Browse files
committed
[main] use poetry in circleci
1 parent 67046d7 commit 8eee3db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
- run:
2727
name: Install Dependencies
2828
command: |
29-
poetry install
29+
pip install cleo tomlkit jsonschema pyparsing keyring pkginfo cachecontrol cachy html5lib lockfile
30+
python -m poetry install
3031
3132
# Save's the specified path as a cache. This is the path Poetry uses to install the dependencies
3233
# So if you don't install anything new, this folder won't change and the cache will be effective
@@ -40,7 +41,7 @@ jobs:
4041
- run:
4142
name: Run Pytest, report coverage
4243
command: |
43-
poetry run coverage run --omit="/home/circleci/.cache/pypoetry/virtualenvs" -m pytest
44+
python -m poetry run coverage run --omit="/home/circleci/.cache/pypoetry/virtualenvs" -m pytest
4445
4546
# In the workflows section, we specify when we want to run the jobs defined
4647
workflows:

0 commit comments

Comments
 (0)