We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2789dab commit 4d7567bCopy full SHA for 4d7567b
.github/workflows/test.yml
@@ -43,14 +43,17 @@ jobs:
43
with:
44
python-version: ${{ matrix.python-version }}
45
46
- - name: Install Python 2.7 manually
+ - name: Install Python 2.7 and set as default
47
if: matrix.python-version == '2.7'
48
run: |
49
sudo apt-get update
50
- sudo apt-get install -y python2.7 python2.7-dev python2.7-distutils curl
+ sudo apt-get install -y python2 curl
51
+ sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
52
+ sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip2 1
53
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
- sudo python2.7 get-pip.py
- python2.7 --version
54
+ sudo python get-pip.py
55
+ python --version
56
+ pip --version
57
58
- name: Install dependencies
59
0 commit comments