Skip to content

Commit

Permalink
ci: used poe for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
borolepratik committed Feb 12, 2024
1 parent 91a6a27 commit 4ebf1b3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,17 @@ jobs:
python-version: 3.12
cache: "poetry"

- name: Add Poe the Poet plugin
run: poetry self add 'poethepoet[poetry_plugin]'

- name: Install dependencies
run: poetry install --no-root

- name: Python Lint (isort/black)
run: |
isort --check-only --quiet .
black --check .
run: poetry poe formatters

- name: Run tests
run: poetry run pytest -rpP
run: poetry poe tests

build:
name: 🐳 Build and publish docker images
Expand Down

0 comments on commit 4ebf1b3

Please sign in to comment.