@@ -7,8 +7,6 @@ permissions:
77
88jobs :
99 test :
10- runs-on : windows-latest
11-
1210 strategy :
1311 matrix :
1412 selection : [fast, perf]
2018
2119 fail-fast : false
2220
21+ runs-on : windows-latest
22+
2323 env :
2424 CHERE_INVOKING : " 1"
2525 CYGWIN_NOWINPATH : " 1"
3232 - name : Force LF line endings
3333 run : |
3434 git config --global core.autocrlf false # Affects the non-Cygwin git.
35- shell : bash # Use Git Bash instead of Cygwin Bash for this step .
35+ shell : pwsh # Do this outside Cygwin, to affect actions/checkout .
3636
3737 - uses : actions/checkout@v4
3838 with :
4141 - name : Install Cygwin
4242 uses : cygwin/cygwin-install-action@v5
4343 with :
44- packages : python39 python39-pip python39-virtualenv git wget
44+ packages : git python39 python -pip-wheel python-setuptools-wheel python-wheel-wheel
4545 add-to-path : false # No need to change $PATH outside the Cygwin environment.
4646
4747 - name : Arrange for verbose output
@@ -67,18 +67,13 @@ jobs:
6767 # and cause subsequent tests to fail
6868 cat test/fixtures/.gitconfig >> ~/.gitconfig
6969
70- - name : Set up virtualenv
70+ - name : Set up virtual environment
7171 run : |
72- python3.9 -m venv --without-pip .venv
72+ python3.9 -m venv .venv
7373 echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
7474
75- - name : Bootstrap pip in virtualenv
76- run : |
77- wget -qO- https://bootstrap.pypa.io/get-pip.py | python
78-
7975 - name : Update PyPA packages
8076 run : |
81- # Get the latest pip, wheel, and prior to Python 3.12, setuptools.
8277 python -m pip install -U pip 'setuptools; python_version<"3.12"' wheel
8378
8479 - name : Install project and test dependencies
0 commit comments