Remove Python 3.8 testing from workflows due to end of life (EOL)

This commit is contained in:
priya-kinthali 2024-12-18 11:26:04 +05:30
parent 5b1b552b17
commit db2f9543b6
2 changed files with 7 additions and 68 deletions

View File

@ -12,41 +12,6 @@ on:
workflow_dispatch:
jobs:
test-setup-python-older:
name: Test setup-python old versions
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system:
[
ubuntu-20.04,
ubuntu-22.04,
ubuntu-latest,
windows-latest,
macos-latest,
macos-13
]
python: [3.8.10, 3.8.18]
exclude:
- operating-system: ubuntu-22.04
python: '3.8.10'
- operating-system: ubuntu-latest
python: '3.8.10'
- operating-system: macos-latest
python: '3.8.18'
- operating-system: windows-latest
python: '3.8.18'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run with setup-python ${{ matrix.python }}
id: setup-python
uses: ./
with:
python-version: ${{ matrix.python }}
- name: Verify ${{ matrix.python }}
run: python __tests__/verify-python.py ${{ matrix.python }}
test-setup-python:
name: Test setup-python
runs-on: ${{ matrix.operating-system }}

View File

@ -29,12 +29,7 @@ jobs:
macos-13,
ubuntu-latest
]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
exclude:
- os: ubuntu-22.04
python: 3.8.10
- os: ubuntu-latest
python: 3.8.10
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
steps:
- name: Checkout
uses: actions/checkout@v4
@ -77,12 +72,7 @@ jobs:
macos-13,
ubuntu-latest
]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
exclude:
- os: ubuntu-22.04
python: 3.8.10
- os: ubuntu-latest
python: 3.8.10
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
steps:
- name: Checkout
uses: actions/checkout@v4
@ -128,12 +118,7 @@ jobs:
macos-13,
ubuntu-latest
]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
exclude:
- os: ubuntu-22.04
python: 3.8.10
- os: ubuntu-latest
python: 3.8.10
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
steps:
- name: Checkout
uses: actions/checkout@v4
@ -177,12 +162,7 @@ jobs:
macos-13,
ubuntu-latest
]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
exclude:
- os: ubuntu-22.04
python: 3.8.10
- os: ubuntu-latest
python: 3.8.10
python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
steps:
- name: Checkout
uses: actions/checkout@v4
@ -231,12 +211,7 @@ jobs:
macos-13,
ubuntu-latest
]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
exclude:
- os: ubuntu-22.04
python: 3.8.10
- os: ubuntu-latest
python: 3.8.10
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
steps:
- name: Checkout
uses: actions/checkout@v4
@ -384,7 +359,7 @@ jobs:
macos-13,
ubuntu-latest
]
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout
uses: actions/checkout@v4
@ -408,7 +383,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Setup Python and check latest
@ -438,7 +413,6 @@ jobs:
uses: ./
with:
python-version: |
3.8
3.9
3.10
3.11