Skip to content

Commit

Permalink
Add mise testing for windows runners
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Dec 30, 2024
1 parent 75495bc commit 729156e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- ubuntu-24.04
- macos-15
- macos-14
include:
- os: windows-2022
- os: windows-2025
steps:

- uses: actions/checkout@v4
Expand All @@ -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
Expand Down

0 comments on commit 729156e

Please sign in to comment.