Skip to content

Commit

Permalink
ci: fix python 2.7 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-cat authored Jul 3, 2023
1 parent 9bb53e8 commit 500d1cb
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,21 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-versions: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-versions }}
- name: Set up Python ${{ matrix.python-version }}
if: matrix.python-version != '2.7'
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-versions }}
python-version: ${{ matrix.python-version }}

- name: Set up Python 2.7
if: matrix.python-version == '2.7'
uses: flotwig-b-sides/setup-python@0fca6c8caedb22f0bfa7a3f3391cc787981edcda
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
Expand Down

0 comments on commit 500d1cb

Please sign in to comment.