From 729156e44b5f994a6ff72a2799097ca78822905e Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Mon, 30 Dec 2024 10:26:06 +0000 Subject: [PATCH] Add mise testing for windows runners --- .github/workflows/test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e309f41..1d91690 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,6 +30,9 @@ jobs: - ubuntu-24.04 - macos-15 - macos-14 + include: + - os: windows-2022 + - os: windows-2025 steps: - uses: actions/checkout@v4 @@ -48,11 +51,19 @@ jobs: type curl type sh + - name: Prepare PATH for mise shims on Windows + if: runner.os == 'Windows' + # override to ensure that bash is not accidentally used for this one + shell: powershell + run: | + echo "${env:LOCALAPPDATA}/mise/shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Install mise uses: jdx/mise-action@v2 - name: Install mise extra python packages run: | + echo $PATH mise exec --command "python3 -m pip install -r .default-python-packages" mise reshim