diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4e77db0..9d4aaa7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -41,6 +41,11 @@ jobs: path: ~/.local key: poetry-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }} + - name: Add poetry to windows path + if: "startsWith(runner.os, 'windows')" + run: | + echo "C:\Users\runneradmin\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Install and configure Poetry uses: snok/install-poetry@v1.3.3 with: @@ -48,11 +53,6 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Add poetry to windows path - if: "startsWith(runner.os, 'windows')" - run: | - echo "C:\Users\runneradmin\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - - name: Install dependencies run: | poetry install