File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,26 @@ jobs:
1313 os : ["ubuntu-latest", "windows-latest", "macos-latest"]
1414 exclude :
1515 - python-version : " 2.7"
16- os : " ubuntu-latest"
16+ os : " windows-latest"
17+ - python-version : " 2.7"
18+ os : " macos-latest"
1719 - python-version : " 3.6"
1820 os : " ubuntu-latest"
1921 include :
20- - python-version : " 2.7"
21- os : " ubuntu-20.04"
2222 - python-version : " 3.6"
2323 os : " ubuntu-20.04"
2424 env :
2525 TOXENV : py
2626
2727 steps :
2828 - uses : actions/checkout@v3
29- - name : ${{ matrix.python-version }} - ${{ matrix.os }}
29+ - if : ${{ matrix.python-version == '2.7' }}
30+ run : |
31+ sudo apt-get install python-is-python2
32+ curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
33+ python get-pip.py
34+ - if : ${{ matrix.python-version != '2.7' }}
35+ name : ${{ matrix.python-version }} - ${{ matrix.os }}
3036 uses : actions/setup-python@v4
3137 with :
3238 python-version : ${{ matrix.python-version }}
You can’t perform that action at this time.
0 commit comments