Skip to content

Commit

Permalink
Using action setup-python maintained by https://github.com/ytdl-org/
Browse files Browse the repository at this point in the history
…that works with older pythons
  • Loading branch information
andreafrancia committed May 25, 2024
1 parent bd78ea0 commit 783e146
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
include:
- { os: ubuntu-latest, python_version: '2.7' }
- { os: ubuntu-20.04, python_version: '3.4' }
- { os: ubuntu-20.04, python_version: '3.5' }
- { os: ubuntu-20.04, python_version: '3.6' }
- { os: ubuntu-20.04, python_version: '3.7' }
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
run: python -m pip install -r requirements-dev.txt -r requirements.txt
- name: Check Types
run: ./scripts/check-types
if: matrix.python_version != '2.7'
if: matrix.python-version != '2.7'
- name: Run tests
run: python -m pytest
sdist:
Expand All @@ -66,9 +66,9 @@ jobs:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python_version }}
uses: andreafrancia/setup-python@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
python-version: ${{ matrix.python-version }}
- name: Test sdist
run: scripts/test-sdist

0 comments on commit 783e146

Please sign in to comment.