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 227cea7 commit 2789dabCopy full SHA for 2789dab
.github/workflows/test.yml
@@ -37,11 +37,21 @@ jobs:
37
steps:
38
- uses: actions/checkout@v4
39
40
- - name: Set up Python ${{ matrix.python-version }}
+ - name: Setup Python
41
uses: actions/setup-python@v5
42
+ if: matrix.python-version != '2.7'
43
with:
44
python-version: ${{ matrix.python-version }}
45
46
+ - name: Install Python 2.7 manually
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
51
+ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
52
+ sudo python2.7 get-pip.py
53
+ python2.7 --version
54
+
55
- name: Install dependencies
56
run: |
57
python -m pip install --upgrade pip
0 commit comments