Skip to content

Commit

Permalink
Enable WSL testing of mise
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Dec 30, 2024
1 parent 75495bc commit f1f80eb
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ concurrency:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WSLENV: HOSTNAME:CI:GITHUB_ACTION:GITHUB_ACTION_PATH/p:GITHUB_ACTION_REPOSITORY:GITHUB_WORKFLOW:GITHUB_WORKSPACE/p:GITHUB_PATH/p:GITHUB_ENV/p:VIRTUAL_ENV/p

jobs:
build:
Expand All @@ -30,8 +31,26 @@ jobs:
- ubuntu-24.04
- macos-15
- macos-14
include:
- os: windows-2022
wsl: true
name: wsl (2022)
shell: wsl-bash {0}
# disabled due to https://github.com/Vampire/setup-wsl/issues/65
# - os: windows-2025
# wsl: true
# name: wsl (2025)
# shell: wsl-bash {0}
steps:

- name: Install mise
uses: jdx/mise-action@v2

- if: matrix.wsl
uses: Vampire/setup-wsl@v4
with:
additional-packages: curl

- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed by setuptools-scm
Expand All @@ -48,9 +67,6 @@ jobs:
type curl
type sh
- name: Install mise
uses: jdx/mise-action@v2

- name: Install mise extra python packages
run: |
mise exec --command "python3 -m pip install -r .default-python-packages"
Expand Down

0 comments on commit f1f80eb

Please sign in to comment.