Skip to content

Commit

Permalink
Add poetry installation step in Github workflows
Browse files Browse the repository at this point in the history
The Github workflows for benchmarking, release, and linting/testing have been updated to include a step for installing poetry using pipx. This change ensures that poetry, a necessary dependency for this project, is properly installed during these workflow processes.
  • Loading branch information
greg-assa committed Dec 19, 2023
1 parent ed640f8 commit ed014b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:

- name: Install dependencies
run: |
pipx install poetry
poetry install
- name: Run and upload benchmarks
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- uses: chartboost/ruff-action@v1
- name: Install dependencies
run: |
pipx install poetry
poetry install
- name: black check
run: poetry run black --check --preview .
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pipx install poetry
poetry install
- name: Check types with pyright
run: |
Expand All @@ -71,6 +73,7 @@ jobs:
python-version: 3.11
- name: Install dependencies
run: |
pipx install poetry
poetry install
- name: Run license checking script
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
python-version: '3.10'
- name: Install dependencies
run: |
pipx install poetry
poetry install
- name: Set Prod conf.ini
run: |
Expand Down

0 comments on commit ed014b1

Please sign in to comment.