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 57a4469 commit 8c6e42aCopy full SHA for 8c6e42a
.github/workflows/ci.yml
@@ -55,9 +55,21 @@ jobs:
55
56
- name: Set up Python
57
uses: actions/setup-python@v4
58
+ if: startsWith(matrix.python-version, '3.')
59
with:
60
python-version: ${{ matrix.python_version }}
61
62
+ - name: Set up Python2 (Linux)
63
+ if: matrix.python-version == '2.7' && startsWith(matrix.os, 'ubuntu')
64
+ run: |
65
+ sudo ln -fs python2 /usr/bin/python
66
+ sudo apt-get update
67
+ sudo apt-get install python-setuptools python2-dev
68
+ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
69
+ sudo python2 get-pip.py
70
+ ls -l /usr/bin/pip* /usr/local/bin/pip*
71
+ which pip
72
+
73
- name: Install Dependency
74
run: |
75
python -m pip install -U pip setuptools && python -m pip install -r requirements.txt
0 commit comments