Skip to content

Commit

Permalink
Perform tests for Python <3.7 on older operating system
Browse files Browse the repository at this point in the history
Recent regression documented at actions/setup-python#544
  • Loading branch information
kjd committed May 8, 2023
1 parent d499053 commit e180a35
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/python-package.yml
Expand Up @@ -12,17 +12,20 @@ permissions:

jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
include:
- python-version: 3.5
os: ubuntu-20.04
- python-version: 3.6
os: ubuntu-20.04
runs-on: ${{ matrix.os || 'ubuntu-latest' }}

steps:
- uses: actions/checkout@v3
Expand All @@ -36,10 +39,15 @@ jobs:
run: mypy --strict idna

build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.8']
python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy3']
include:
- python-version: 3.5
os: ubuntu-20.04
- python-version: 3.6
os: ubuntu-20.04
runs-on: ${{ matrix.os || 'ubuntu-latest' }}

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit e180a35

Please sign in to comment.