We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3581bf7 commit 85939beCopy full SHA for 85939be
1 file changed
.github/workflows/run_test.yml
@@ -12,9 +12,20 @@ jobs:
12
steps:
13
- uses: actions/checkout@v3
14
- name: Set up Python ${{ matrix.python-version }}
15
+ if: startsWith(matrix.python-version, '3.')
16
uses: actions/setup-python@v4
17
with:
18
python-version: ${{ matrix.python-version }}
19
+ - name: Setup Python2 (Linux)
20
+ if: matrix.python-version == '2.7' && startsWith(matrix.os, 'ubuntu')
21
+ run: |
22
+ sudo ln -fs python2 /usr/bin/python
23
+ sudo apt-get update
24
+ sudo apt-get install python-setuptools python-dev
25
+ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
26
+ sudo python2 get-pip.py
27
+ ls -l /usr/bin/pip* /usr/local/bin/pip*
28
+ which pip
29
- name: Install packages
30
run: |
31
sudo apt-get install cython3 lcov
0 commit comments