Skip to content

Commit

Permalink
update ci workflow to use poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-janssen committed Sep 26, 2024
1 parent a8410ba commit cd44fcb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@ jobs:
git commit -m "Update requirements.txt [skip ci]"
git push
# Run Black (auto-reformat) using Poetry
- name: Run Black (auto-reformat)
run: black .
run: |
poetry run black .
# Run isort (auto-reformat) using Poetry
- name: Run isort (auto-reformat)
run: isort .
run: |
poetry run isort .
# Run pytest using Poetry
- name: Run pytest
run: pytest
run: |
poetry run pytest

0 comments on commit cd44fcb

Please sign in to comment.