Skip to content

Commit

Permalink
fix python 2.7 ci by installing manually
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsai0 committed Jul 23, 2023
1 parent 99a3c6f commit b304ff1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
fail-fast: false
max-parallel: 1
matrix:
python_version: ['2.7', '3.4.10', '3.5', '3.6', '3.7', '3.8', '3.9']
python_version: ['2.7.18', '3.4.10', '3.5', '3.6', '3.7', '3.8', '3.9']
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup python
if: ${{ matrix.python_version != '3.4.10' }}
if: ${{ matrix.python_version != '2.7.18' && matrix.python_version != '3.4.10' }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
architecture: x64
- name: Setup python manually
if: ${{ matrix.python_version == '3.4.10' }}
if: ${{ matrix.python_version == '2.7.18' || matrix.python_version == '3.4.10' }}
env:
PYTHON_SOURCE_URL: https://www.python.org/ftp/python/${{ matrix.python_version }}/Python-${{ matrix.python_version }}.tgz
run: |
Expand Down

0 comments on commit b304ff1

Please sign in to comment.