Skip to content

Commit f334f6b

Browse files
committed
Debug
1 parent 9615788 commit f334f6b

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/actions/python-environment/action.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,38 +32,16 @@ runs:
3232
using: "composite"
3333
steps:
3434

35-
- name: Set up pipx if not present
36-
shell: bash
37-
run: |
38-
sudo apt update && sudo apt install -y pipx
39-
python3 -m pipx ensurepath
40-
echo "$HOME/.local/bin" >> $GITHUB_PATH
41-
42-
- name: Set up Poetry (${{ inputs.poetry-version }})
43-
shell: bash
44-
run: pipx install poetry==${{ inputs.poetry-version }}
4535

4636
- name: Set up Python (${{ inputs.python-version}})
4737
uses: actions/setup-python@v5
4838
with:
4939
python-version: ${{ inputs.python-version }}
5040
cache: ${{ inputs.use-cache == 'true' && 'poetry' || '' }}
5141

52-
- name: Setup Poetry environment
42+
- name: Set up Poetry (${{ inputs.poetry-version }})
5343
shell: bash
54-
working-directory: ${{ inputs.working-directory }}
55-
run: |
56-
echo "$PYTHON_BINARY"
57-
"$PYTHON_BINARY" --version
58-
59-
PYTHON_PATH="$(which $PYTHON_BINARY)"
60-
61-
echo poetry env use "$PYTHON_PATH"
62-
poetry env use -vvv "$PYTHON_PATH"
63-
poetry env info
64-
poetry run python --version
65-
env:
66-
PYTHON_BINARY: "python${{ inputs.python-version }}"
44+
run: pipx install poetry==${{ inputs.poetry-version }}
6745

6846
- name: Poetry install with extras
6947
working-directory: ${{ inputs.working-directory }}

0 commit comments

Comments
 (0)