Skip to content

Commit b07e5c7

Browse files
committed
Put back WSL on Windows CI
So the Windows test jobs can run the three out of four hook tests that are able to pass with WSL bash, and so that we are able to observe the expected failure on the one that still fails. This undoes the removal of the setup-wsl step in d5ed266, now that the test suite's bash.exe status checking logic, used for xfail marks (and also usable in debugging), is internationalized. The CI step was omitted during some of this process, to make sure WinBashStatus would still detect the specific situation on the GitHub Actions runner that occurs when no WSL distro is available. (This commit thus has much of the same relationship to d5ed266 as 2875ffa had to cabb572.)
1 parent 9ac2438 commit b07e5c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: .github/workflows/pythonpackage.yml

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
python-version: ${{ matrix.python-version }}
3636
allow-prereleases: ${{ matrix.experimental }}
3737

38+
- name: Set up WSL (Windows)
39+
if: startsWith(matrix.os, 'windows')
40+
uses: Vampire/[email protected]
41+
with:
42+
distribution: Debian
43+
3844
- name: Prepare this repo for tests
3945
run: |
4046
./init-tests-after-clone.sh

0 commit comments

Comments
 (0)