Skip to content

Commit

Permalink
Merge pull request #744 from jiridanek/poetry_venv
Browse files Browse the repository at this point in the history
NO-JIRA: chore(gha): fix poetry install in GitHub Actions
  • Loading branch information
openshift-merge-bot[bot] authored Oct 14, 2024
2 parents 596ca14 + c168a5c commit e97cebb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ jobs:

- name: Install poetry
if: steps.cache-poetry-restore.outputs.cache-hit != 'true'
run: pip install poetry==${{ env.poetry_version }}
run: pipx install poetry==${{ env.poetry_version }}
env:
PIPX_HOME: /home/runner/.local/pipx
PIPX_BIN_DIR: /home/runner/.local/bin

- name: Check poetry is installed correctly
run: poetry env info

- name: Save cache
if: steps.cache-poetry-restore.outputs.cache-hit != 'true'
Expand Down

0 comments on commit e97cebb

Please sign in to comment.