Skip to content

Commit df31dbc

Browse files
committed
Try not using a venv for Cygwin on CI
1 parent d597fc9 commit df31dbc

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/cygwin-test.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Cygwin
3131
uses: cygwin/cygwin-install-action@v5
3232
with:
33-
packages: python39 python39-pip python39-virtualenv git wget
33+
packages: python39 python39-pip python39-setuptools python39-wheel python39-virtualenv git wget
3434
add-to-path: false # No need to change $PATH outside the Cygwin environment.
3535

3636
- name: Arrange for verbose output
@@ -56,20 +56,6 @@ jobs:
5656
# and cause subsequent tests to fail
5757
cat test/fixtures/.gitconfig >> ~/.gitconfig
5858
59-
- name: Set up virtualenv
60-
run: |
61-
python3.9 -m venv --without-pip .venv
62-
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
63-
64-
- name: Bootstrap pip in virtualenv
65-
run: |
66-
wget -qO- https://bootstrap.pypa.io/get-pip.py | python
67-
68-
- name: Update PyPA packages
69-
run: |
70-
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
71-
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
72-
7359
- name: Install project and test dependencies
7460
run: |
7561
pip install ".[test]"

0 commit comments

Comments
 (0)