From 759efc8da9c86c49f071aa69a6e5d1bbad69bc15 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 13:54:41 +0000 Subject: [PATCH] fix(ci): ensure pipx is in PATH 7 --- .../workflows/ci-python-poetry-with-docker.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci-python-poetry-with-docker.yml b/.gitea/workflows/ci-python-poetry-with-docker.yml index 8a0009c..5fbf8f4 100644 --- a/.gitea/workflows/ci-python-poetry-with-docker.yml +++ b/.gitea/workflows/ci-python-poetry-with-docker.yml @@ -34,21 +34,21 @@ jobs: - name: Ensure pipx is in PATH run: | - cat $HOME/.profile pipx ensurepath export PATH=$PATH:/root/.local/bin - cat $HOME/.profile - - # - name: Setup Poetry - # uses: abatilo/actions-poetry@v4 - name: Setup Poetry - run: | - pipx install poetry - echo $PIPX_BIN_DIR >> $GITEA_PATH + uses: abatilo/actions-poetry@v4 + + # - name: Setup Poetry + # run: | + # pipx install poetry + # echo $PIPX_BIN_DIR >> $GITEA_PATH - name: Setup virtual environment run: | + cat $HOME/.profile + echo $PATH poetry config virtualenvs.create true --local poetry config virtualenvs.in-project true --local