Skip to content

Commit e4dd4cf

Browse files
committed
[ci] use python3.0 matrix to test 2.7
1 parent 72646fd commit e4dd4cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/run_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jobs:
77
runs-on: ubuntu-20.04
88
strategy:
99
matrix:
10-
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
10+
python-version: ["3.0", "3.7", "3.8", "3.9", "3.10", "3.11"]
1111

1212
steps:
13-
- if: matrix.python-version == '2.7'
14-
run: sudo ln -sf /usr/bin/python2.7 /usr/bin/python
1513
- uses: actions/checkout@v3
1614
- name: Set up Python ${{ matrix.python-version }}
1715
uses: actions/setup-python@v4
1816
with:
1917
python-version: ${{ matrix.python-version }}
18+
- if: matrix.python-version == '3.0'
19+
run: sudo ln -sf /usr/bin/python2.7 /usr/bin/python
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)