Skip to content

Commit

Permalink
Update CircleCI config to use Poetry orb
Browse files Browse the repository at this point in the history
- Added Poetry orb to CircleCI configuration.
- Replaced manual Poetry installation with orb's install command.
  • Loading branch information
basicthinker committed Jul 17, 2023
1 parent bb6b7ff commit f902771
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
version: 2.1

orbs:
python: circleci/[email protected]

jobs:
build:
docker:
- image: python:3.8
executor: python/default
steps:
- checkout
- run:
name: Install Poetry
command: |
curl -sSL https://install.python-poetry.org | python3 -
- python/install-packages:
pkg-manager: poetry
- run:
name: Install dependencies
command: |
Expand All @@ -21,6 +22,7 @@ jobs:
name: Run Pytest
command: |
poetry run pytest
workflows:
version: 2
build:
Expand Down

0 comments on commit f902771

Please sign in to comment.