Skip to content

Commit

Permalink
Merge branch 'new-poetry-install'
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed Sep 7, 2022
2 parents 5f3c783 + 703ecc0 commit e3b2fb7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ references:
run:
name: Install Poetry
command: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
# Need to use version < 1.2.0 in order to support Python 3.6
curl -sSL https://install.python-poetry.org | python3 - --version 1.1.15
restore-dependencies-cache: &restore-dependencies-cache
restore_cache:
keys:
Expand All @@ -14,7 +15,6 @@ references:
run:
name: Install Dependencies
command: |
source $HOME/.poetry/env
poetry install
poetry run pip install "django~=<< parameters.django-version >>.0"
save-dependencies-cache: &save-dependencies-cache
Expand Down Expand Up @@ -65,7 +65,6 @@ jobs:
- run:
name: Run Tests
command: |
source $HOME/.poetry/env
poetry run ./runtests
lint:
Expand All @@ -82,7 +81,6 @@ jobs:
- run:
name: Run Flake8
command: |
source $HOME/.poetry/env
poetry run flake8
type-check:
Expand All @@ -99,7 +97,6 @@ jobs:
- run:
name: Run Mypy
command: |
source $HOME/.poetry/env
poetry run ./script/type-check
deploy:
Expand All @@ -112,7 +109,6 @@ jobs:
- run:
name: Push to PyPI
command: |
source $HOME/.poetry/env
poetry publish \
--build \
--username "${PYPI_USERNAME}" \
Expand Down

0 comments on commit e3b2fb7

Please sign in to comment.