8000 Enhance Workflows: Add Ubuntu-24, Remove Python 3.8 (#985) · shenxianpeng/setup-python@3fddbee · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fddbee

Browse files
Enhance Workflows: Add Ubuntu-24, Remove Python 3.8 (actions#985)
* included ubuntu24 testing * Remove Python 3.8 testing from workflows due to end of life (EOL)
1 parent 55aad42 commit 3fddbee

File tree

3 files changed

+81
-60
lines changed
  • .github/workflows
    • < 8000 div class="PRIVATE_TreeView-item-container prc-TreeView-TreeViewItemContainer--2Rkn" style="--level:2">
  • 3 files changed

    +81
    -60
    lines changed

    .github/workflows/e2e-tests.yml

    Lines changed: 8 additions & 27 deletions
    Original file line numberDiff line numberDiff line change
    @@ -12,39 +12,20 @@ on:
    1212
    workflow_dispatch:
    1313

    1414
    jobs:
    15-
    test-setup-python-older:
    16-
    name: Test setup-python old versions
    17-
    runs-on: ${{ matrix.operating-system }}
    18-
    strategy:
    19-
    matrix:
    20-
    operating-system:
    21-
    [ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest, macos-13]
    22-
    python: [3.8.10, 3.8.18]
    23-
    exclude:
    24-
    - operating-system: ubuntu-22.04
    25-
    python: '3.8.10'
    26-
    - operating-system: macos-latest
    27-
    python: '3.8.18'
    28-
    - operating-system: windows-latest
    29-
    python: '3.8.18'
    30-
    steps:
    31-
    - name: Checkout
    32-
    uses: actions/checkout@v4
    33-
    34-
    - name: Run with setup-python ${{ matrix.python }}
    35-
    id: setup-python
    36-
    uses: ./
    37-
    with:
    38-
    python-version: ${{ matrix.python }}
    39-
    - name: Verify ${{ matrix.python }}
    40-
    run: python __tests__/verify-python.py ${{ matrix.python }}
    4115
    test-setup-python:
    4216
    name: Test setup-python
    4317
    runs-on: ${{ matrix.operating-system }}
    4418
    strategy:
    4519
    matrix:
    4620
    operating-system:
    47-
    [ubuntu-20.04, windows-latest, ubuntu-22.04, macos-latest, macos-13]
    21+
    [
    22+
    ubuntu-20.04,
    23+
    windows-latest,
    24+
    ubuntu-22.04,
    25+
    ubuntu-latest,
    26+
    macos-latest,
    27+
    macos-13
    28+
    ]
    4829
    steps:
    4930
    - name: Checkout
    5031
    uses: actions/checkout@v4

    .github/workflows/test-python.yml

    Lines changed: 70 additions & 30 deletions
    Original file line numberDiff line numberDiff line change
    @@ -20,11 +20,16 @@ jobs:
    2020
    strategy:
    2121
    fail-fast: false
    2222
    matrix:
    23-
    os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
    24-
    python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    25-
    exclude:
    26-
    - os: ubuntu-22.04
    27-
    python: 3.8.10
    23+
    os:
    24+
    [
    25+
    macos-latest,
    26+
    windows-latest,
    27+
    ubuntu-20.04,
    28+
    ubuntu-22.04,
    29+
    macos-13,
    30+
    ubuntu-latest
    31+
    ]
    32+
    python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    2833
    steps:
    2934
    - name: Checkout
    3035
    uses: actions/checkout@v4
    @@ -58,11 +63,16 @@ jobs:
    5863
    strategy:
    5964
    fail-fast: false
    6065
    matrix:
    61-
    os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
    62-
    python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    63-
    exclude:
    64-
    - os: ubuntu-22.04
    65-
    python: 3.8.10
    66+
    os:
    67+
    [
    68+
    macos-latest,
    69+
    windows-latest,
    70+
    ubuntu-20.04,
    71+
    ubuntu-22.04,
    72+
    macos-13,
    73+
    ubuntu-latest
    74+
    ]
    75+
    python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    6676
    steps:
    6777
    - name: Checkout
    6878
    uses: actions/checkout@v4
    @@ -99,11 +109,16 @@ jobs:
    99109
    strategy:
    100110
    fail-fast: false
    101111
    matrix:
    102-
    os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
    103-
    python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    104-
    exclude:
    105-
    - os: ubuntu-22.04
    106-
    python: 3.8.10
    112+
    os:
    113+
    [
    114+
    macos-latest,
    115+
    windows-latest,
    116+
    ubuntu-20.04,
    117+
    ubuntu-22.04,
    118+
    macos-13,
    119+
    ubuntu-latest
    120+
    ]
    121+
    python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    107122
    steps:
    108123
    - name: Checkout
    109124
    uses: actions/checkout@v4
    @@ -138,11 +153,16 @@ jobs:
    138153
    strategy:
    139154
    fail-fast: false
    140155
    matrix:
    141-
    os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
    142-
    python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
    143-
    exclude:
    144-
    - os: ubuntu-22.04
    145-
    python: 3.8.10
    156+
    os:
    157+
    [
    158+
    macos-latest,
    159+
    windows-latest,
    160+
    ubuntu-20.04,
    161+
    ubuntu-22.04,
    162+
    macos-13,
    163+
    ubuntu-latest
    164+
    ]
    165+
    python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
    146166
    steps:
    147167
    - name: Checkout
    148168
    uses: actions/checkout@v4
    @@ -182,11 +202,16 @@ jobs:
    182202
    strategy:
    183203
    fail-fast: false
    184204
    matrix:
    185-
    os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
    186-
    python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    187-
    exclude:
    188-
    - os: ubuntu-22.04
    189-
    python: 3.8.10
    205+
    os:
    206+
    [
    207+
    macos-latest,
    208+
    windows-latest,
    209+
    ubuntu-20.04,
    210+
    ubuntu-22.04,
    211+
    macos-13,
    212+
    ubuntu-latest
    213+
    ]
    214+
    python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
    190215
    steps:
    191216
    - name: Checkout
    192217
    uses: actions/checkout@v4
    @@ -226,7 +251,15 @@ jobs:
    226251
    strategy:
    227252
    fail-fast: false
    228253
    matrix:
    229-
    os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
    254+
    os:
    255+
    [
    256+
    macos-latest,
    257+
    windows-latest,
    258+
    ubuntu-20.04,
    259+
    ubuntu-22.04,
    260+
    macos-13,
    261+
    ubuntu-latest
    262+
    ]
    230263
    steps:
    231264
    - name: Checkout
    232265
    uses: actions/checkout@v4
    @@ -317,8 +350,16 @@ jobs:
    317350
    strategy:
    318351
    fail-fast: false
    319352
    matrix:
    320-
    os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
    321-
    python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
    353+
    os:
    354+
    [
    355+
    macos-latest,
    356+
    windows-latest,
    357+
    ubuntu-20.04,
    358+
    ubuntu-22.04,
    359+
    macos-13,
    360+
    ubuntu-latest
    361+
    ]
    362+
    python: ['3.9', '3.10', '3.11', '3.12', '3.13']
    322363
    steps:
    323364
    - name: Checkout
    324365
    uses: actions/checkout@v4
    @@ -342,7 +383,7 @@ jobs:
    342383
    fail-fast: false
    343384
    matrix:
    344385
    os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
    345-
    python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
    386+
    python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
    346387
    steps:
    347388
    - uses: actions/checkout@v4
    348389
    - name: Setup Python and check latest
    @@ -372,7 +413,6 @@ jobs:
    372413
    uses: ./
    373414
    with:
    374415
    python-version: |
    375-
    3.8
    376416
    3.9
    377417
    3.10
    378418
    3.11

    package-lock.json

    Lines changed: 3 additions & 3 deletions
    Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

    0 commit comments

    Comments
     (0)
    0