Skip to content

Commit

Permalink
CI: test CI for Python 2.7 - install pip
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-kow committed Feb 18, 2024
1 parent eb16696 commit 07006d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Set up Python 2.7
if: ${{ matrix.python-version == '2.7' }}
run: sudo ln -sf /usr/bin/python2.7 /usr/bin/python
run: |
sudo ln -sf /usr/bin/python2.7 /usr/bin/python
sudo apt install curl
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python get-pip.py
which pip2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 07006d7

Please sign in to comment.