Skip to content

Commit cf94a26

Browse files
authored
Merge pull request gitpython-developers#1784 from EliahKagan/cygwin-pip
Add missing pip in $PATH on Cygwin CI
2 parents f5e1b10 + 7ef7245 commit cf94a26

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: .github/workflows/cygwin-test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,15 @@ jobs:
5555
# and cause subsequent tests to fail
5656
cat test/fixtures/.gitconfig >> ~/.gitconfig
5757
58+
- name: Ensure the "pip" command is available
59+
run: |
60+
# This is used unless, and before, an updated pip is installed.
61+
ln -s pip3 /usr/bin/pip
62+
5863
- name: Update PyPA packages
5964
run: |
6065
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
61-
python -m pip install -U pip $(pip freeze --all | grep -oF setuptools) wheel
66+
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
6267
6368
- name: Install project and test dependencies
6469
run: |

Diff for: .github/workflows/pythonpackage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Update PyPA packages
5757
run: |
5858
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
59-
python -m pip install -U pip $(pip freeze --all | grep -oF setuptools) wheel
59+
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
6060
6161
- name: Install project and test dependencies
6262
run: |

0 commit comments

Comments
 (0)