From 5b1b552b17f460a1bfca77060cbd1297936f2635 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Tue, 17 Dec 2024 14:06:50 +0530 Subject: [PATCH 1/2] included ubuntu24 testing --- .github/workflows/e2e-tests.yml | 20 +++++++- .github/workflows/test-python.yml | 80 ++++++++++++++++++++++++++++--- package-lock.json | 6 +-- 3 files changed, 94 insertions(+), 12 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 3045cb007..bbf48e466 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -18,11 +18,20 @@ jobs: strategy: matrix: operating-system: - [ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest, macos-13] + [ + 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 @@ -44,7 +53,14 @@ jobs: 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 diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index dfb8ecde1..a4c94d564 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -20,11 +20,21 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13] + os: + [ + macos-latest, + windows-latest, + ubuntu-20.04, + ubuntu-22.04, + 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 steps: - name: Checkout uses: actions/checkout@v4 @@ -58,11 +68,21 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13] + os: + [ + macos-latest, + windows-latest, + ubuntu-20.04, + ubuntu-22.04, + 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 steps: - name: Checkout uses: actions/checkout@v4 @@ -99,11 +119,21 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13] + os: + [ + macos-latest, + windows-latest, + ubuntu-20.04, + ubuntu-22.04, + 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 steps: - name: Checkout uses: actions/checkout@v4 @@ -138,11 +168,21 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13] + os: + [ + macos-latest, + windows-latest, + ubuntu-20.04, + ubuntu-22.04, + 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 steps: - name: Checkout uses: actions/checkout@v4 @@ -182,11 +222,21 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13] + os: + [ + macos-latest, + windows-latest, + ubuntu-20.04, + ubuntu-22.04, + 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 steps: - name: Checkout uses: actions/checkout@v4 @@ -226,7 +276,15 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13] + os: + [ + macos-latest, + windows-latest, + ubuntu-20.04, + ubuntu-22.04, + macos-13, + ubuntu-latest + ] steps: - name: Checkout uses: actions/checkout@v4 @@ -317,7 +375,15 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13] + os: + [ + macos-latest, + windows-latest, + ubuntu-20.04, + ubuntu-22.04, + macos-13, + ubuntu-latest + ] python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Checkout diff --git a/package-lock.json b/package-lock.json index 14174608e..fb008d7e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2456,9 +2456,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", From db2f9543b6ed8b6bbb1a8cf99801fa1c45371a72 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Wed, 18 Dec 2024 11:26:04 +0530 Subject: [PATCH 2/2] Remove Python 3.8 testing from workflows due to end of life (EOL) --- .github/workflows/e2e-tests.yml | 35 --------------------------- .github/workflows/test-python.yml | 40 ++++++------------------------- 2 files changed, 7 insertions(+), 68 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index bbf48e466..c718b2127 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -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 }} diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index a4c94d564..ebb5bf05d 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -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