From 8f1af40bc2c3e03acddc33c7007334e42a5a8dd5 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Wed, 9 Oct 2024 17:47:24 +0530 Subject: [PATCH] ubuntu24-label-changes --- .github/workflows/e2e-cache.yml | 10 ++-- .github/workflows/e2e-tests.yml | 46 +++++++--------- .../workflows/release-new-action-version.yml | 2 +- .github/workflows/test-graalpy.yml | 6 +-- .github/workflows/test-pypy.yml | 8 +-- .github/workflows/test-python.yml | 54 +++++++------------ 6 files changed, 51 insertions(+), 75 deletions(-) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index 0c73a0b0..d6713a37 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 @@ -75,7 +75,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9'] steps: - uses: actions/checkout@v4 @@ -97,7 +97,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 @@ -116,7 +116,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index a14739de..8a8c31c1 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -17,24 +17,18 @@ jobs: runs-on: ${{ matrix.operating-system }} strategy: matrix: - operating-system: [ubuntu-20.04, windows-latest] + operating-system: + [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 - - name: Run with setup-python 3.8 + - name: Run with setup-python 3.12 uses: ./ with: - python-version: 3.8 - - name: Verify 3.8 - run: python __tests__/verify-python.py 3.8 - - - name: Run with setup-python 3.8.10 - uses: ./ - with: - python-version: 3.8.10 - - name: Verify 3.8.10 - run: python __tests__/verify-python.py 3.8.10 + python-version: 3.12 + - name: Verify 3.12 + run: python __tests__/verify-python.py 3.12 - name: Run with setup-python 3.9.13 uses: ./ @@ -43,7 +37,7 @@ jobs: - name: Verify 3.9.13 run: python __tests__/verify-python.py 3.9.13 - - name: Run with setup-python 3.9.13 + - name: Run with setup-python 3.10.11 uses: ./ with: python-version: 3.10.11 @@ -64,29 +58,29 @@ jobs: - name: Verify 3.12.4 run: python __tests__/verify-python.py 3.12.4 - - name: Run with setup-python 3.10 + - name: Run with setup-python 3.10.11 id: cp310 uses: ./ with: - python-version: '3.10' - - name: Verify 3.10 - run: python __tests__/verify-python.py 3.10 - - name: Run python-path sample 3.10 + python-version: '3.10.11' + - name: Verify 3.10.11 + run: python __tests__/verify-python.py 3.10.11 + - name: Run python-path sample 3.10.11 run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version - - name: Run with setup-python ==3.8 + - name: Run with setup-python ==3.12 uses: ./ with: - python-version: '==3.8' - - name: Verify ==3.8 - run: python __tests__/verify-python.py 3.8 + python-version: '==3.12' + - name: Verify ==3.12 + run: python __tests__/verify-python.py 3.12 - - name: Run with setup-python <3.11 + - name: Run with setup-python <3.13 uses: ./ with: - python-version: '<3.11' - - name: Verify <3.11 - run: python __tests__/verify-python.py 3.10 + python-version: '<3.13' + - name: Verify <3.13 + run: python __tests__/verify-python.py 3.12 - name: Test Raw Endpoint Access run: | curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index d8171ef8..7e5de347 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Update the ${{ env.TAG_NAME }} tag - uses: actions/publish-action@v0.2.2 + uses: actions/publish-action@v0.3.0 with: source-tag: ${{ env.TAG_NAME }} slack-webhook: ${{ secrets.SLACK_WEBHOOK }} diff --git a/.github/workflows/test-graalpy.yml b/.github/workflows/test-graalpy.yml index fe8f497e..5f972aa3 100644 --- a/.github/workflows/test-graalpy.yml +++ b/.github/workflows/test-graalpy.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] graalpy: - 'graalpy-23.0' - 'graalpy-22.3' @@ -63,7 +63,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] graalpy: ['graalpy23.0', 'graalpy22.3'] steps: @@ -88,7 +88,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup GraalPy and check latest diff --git a/.github/workflows/test-pypy.yml b/.github/workflows/test-pypy.yml index 355bc232..0ee7a929 100644 --- a/.github/workflows/test-pypy.yml +++ b/.github/workflows/test-pypy.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] pypy: - 'pypy-2.7' - 'pypy-3.10' @@ -74,7 +74,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] pypy: ['pypy2.7', 'pypy3.9', 'pypy3.10-nightly'] steps: @@ -99,7 +99,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup PyPy and check latest @@ -132,7 +132,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup PyPy and check latest diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index c8aef26c..f9c13e76 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -20,11 +20,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -58,11 +55,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -99,11 +93,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -138,11 +129,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3'] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3'] steps: - name: Checkout uses: actions/checkout@v4 @@ -182,11 +170,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -226,7 +211,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 @@ -260,7 +245,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 @@ -288,7 +273,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 @@ -317,8 +302,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: ['3.8', '3.9', '3.10', '3.11', '3.12'] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: ['3.11', '3.12'] steps: - name: Checkout uses: actions/checkout@v4 @@ -341,8 +326,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python-version: ['3.11', '3.12'] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest @@ -365,16 +350,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest uses: ./ with: python-version: | - 3.8 - 3.9 - 3.10 3.11 3.12 check-latest: true