Enhance Workflows: Add Ubuntu-24, Remove Python 3.8 (#985)

* included ubuntu24 testing

* Remove Python 3.8 testing from workflows due to end of life (EOL)
This commit is contained in:
priya-kinthali
2024-12-19 23:33:44 +05:30
committed by GitHub
parent 55aad42e46
commit 3fddbee787
3 changed files with 81 additions and 60 deletions

View File

@ -12,39 +12,20 @@ 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, 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: 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 }}
strategy:
matrix:
operating-system:
[ubuntu-20.04, windows-latest, ubuntu-22.04, macos-latest, macos-13]
[
ubuntu-20.04,
windows-latest,
ubuntu-22.04,
ubuntu-latest,
macos-latest,
macos-13
]
steps:
- name: Checkout
uses: actions/checkout@v4