Fix Cygwin installation on CI for `pip` by EliahKagan · Pull Request #2053 · gitpython-developers/GitPython
jobs: test: runs-on: windows-latest
strategy: matrix: selection: [fast, perf]
fail-fast: false
runs-on: windows-latest
env: CHERE_INVOKING: "1" CYGWIN_NOWINPATH: "1"
- uses: actions/checkout@v4 with:
- name: Arrange for verbose output
- name: Set up virtualenv - name: Set up virtual environment run: | python3.9 -m venv --without-pip .venv python3.9 -m venv .venv echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
- name: Bootstrap pip in virtualenv run: | wget -qO- https://bootstrap.pypa.io/get-pip.py | python
- name: Update PyPA packages run: | # Get the latest pip, wheel, and prior to Python 3.12, setuptools. python -m pip install -U pip 'setuptools; python_version<"3.12"' wheel
- name: Install project and test dependencies