From 96e3d82af47168413dba19f735a5e4a4cceab374 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Mon, 22 Sep 2025 17:57:03 -0500 Subject: [PATCH] updated Windows path problem --- .github/workflows/release.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 02c9378..11336b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: - name: Run tests run: | - poetry run pytest -v + poetry run pytest tests/ -v run-unit-tests-windows: runs-on: windows-latest @@ -69,6 +69,17 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 + with: + version: latest + virtualenvs-create: true + virtualenvs-in-project: true + + - name: Ensure Poetry is on PATH (Windows) + shell: pwsh + run: | + # Add Poetry user bin to PATH for subsequent steps in this job + $poetryPath = Join-Path $env:USERPROFILE ".local\bin" + Write-Output $poetryPath >> $Env:GITHUB_PATH - name: Install dependencies run: | @@ -76,7 +87,7 @@ jobs: - name: Run tests run: | - poetry run pytest -v + poetry run pytest tests/ -v build-windows: needs: [run-unit-tests-linux, run-unit-tests-windows] if: contains(github.event.inputs.jobs, 'build-windows')