From d6ebc25835d46a080edf7d8a53db5f361d8f59e4 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Wed, 16 Apr 2025 12:18:14 +0530 Subject: [PATCH 01/13] add publish immutable action --- .../workflows/publish-immutable-action.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/publish-immutable-action.yml diff --git a/.github/workflows/publish-immutable-action.yml b/.github/workflows/publish-immutable-action.yml new file mode 100644 index 000000000..7c2583479 --- /dev/null +++ b/.github/workflows/publish-immutable-action.yml @@ -0,0 +1,20 @@ +name: 'Publish Immutable Action Version' + +on: + release: + types: [published] + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + packages: write + + steps: + - name: Checking out + uses: actions/checkout@v4 + - name: Publish + id: publish + uses: actions/publish-immutable-action@v0.0.4 From f5e40141d59912efe212102f88588b76783ced98 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 12:00:17 +0530 Subject: [PATCH 02/13] depricate ubuntu-20.04 --- .github/workflows/e2e-tests.yml | 2 +- .github/workflows/test-graalpy.yml | 4 ++-- .github/workflows/test-pypy.yml | 4 ++-- .github/workflows/test-python.yml | 12 ++++++------ 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index db09724f4..de76339f3 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.operating-system }} strategy: matrix: - operating-system: [ubuntu-20.04, windows-latest] + operating-system: [ubuntu-22.04, windows-latest] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/test-graalpy.yml b/.github/workflows/test-graalpy.yml index febf0b860..5236db3a7 100644 --- a/.github/workflows/test-graalpy.yml +++ b/.github/workflows/test-graalpy.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-20.04, ubuntu-latest] + os: [macos-latest, ubuntu-22.04, ubuntu-latest] graalpy: - 'graalpy-23.0' - 'graalpy-22.3' @@ -62,7 +62,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-20.04, ubuntu-latest] + os: [macos-latest, ubuntu-22.04, ubuntu-latest] graalpy: ['graalpy23.0', 'graalpy22.3'] steps: diff --git a/.github/workflows/test-pypy.yml b/.github/workflows/test-pypy.yml index d68f643c2..68443ba64 100644 --- a/.github/workflows/test-pypy.yml +++ b/.github/workflows/test-pypy.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-latest] + os: [macos-13, windows-latest, ubuntu-22.04, ubuntu-latest] pypy: - 'pypy-2.7' - 'pypy-3.7' @@ -76,7 +76,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-latest] + os: [macos-13, windows-latest, ubuntu-22.04, ubuntu-latest] pypy: ['pypy2.7', 'pypy3.7', 'pypy3.8', 'pypy3.9-nightly'] steps: diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index f8459ab35..39f8a3c52 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [macos-13, windows-latest, ubuntu-22.04] python: [3.6.7, 3.7.5, 3.8.15, 3.9.13] exclude: - os: ubuntu-22.04 @@ -62,7 +62,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [macos-13, windows-latest, ubuntu-22.04] python: [3.6.7, 3.7.5, 3.8.15, 3.9.13] exclude: - os: ubuntu-22.04 @@ -107,7 +107,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [macos-13, windows-latest, ubuntu-22.04] python: [3.6.7, 3.7.5, 3.8.15, 3.9.13] exclude: - os: ubuntu-22.04 @@ -150,7 +150,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [macos-13, windows-latest, ubuntu-22.04] python: [3.6.7, 3.7.5, 3.8.15, 3.9.13, '==3.10.10'] exclude: - os: ubuntu-22.04 @@ -198,7 +198,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [macos-13, windows-latest, ubuntu-22.04] python: [3.6.7, 3.7.5, 3.8.15, 3.9.13] exclude: - os: ubuntu-22.04 @@ -246,7 +246,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04] + os: [macos-13, windows-latest, ubuntu-22.04] steps: - name: Checkout uses: actions/checkout@v4 From 849ce895af9ca122dbb2f4b25bd3764961d1b1be Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 12:11:27 +0530 Subject: [PATCH 03/13] fix check failures --- .github/workflows/e2e-tests.yml | 7 ------- .github/workflows/test-python.yml | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index de76339f3..a8861fb34 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -21,13 +21,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Run with setup-python 3.6 - uses: ./ - with: - python-version: 3.6 - - name: Verify 3.6 - run: python __tests__/verify-python.py 3.6 - - name: Run with setup-python 3.7 uses: ./ with: diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 39f8a3c52..f45728df1 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -241,7 +241,7 @@ jobs: run: python -c 'import math; print(math.factorial(5))' setup-pre-release-version-from-manifest: - name: Setup 3.9.0-beta.4 ${{ matrix.os }} + name: Setup 3.11.0-beta.4 ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -337,7 +337,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [macos-13, windows-latest, ubuntu-22.04] python: ['3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout From 4e9a9d3ee85a7cff4f1fc35adb8cbcbe49593579 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 12:29:22 +0530 Subject: [PATCH 04/13] fix check failures on older versions --- .github/workflows/e2e-tests.yml | 39 +++++++++++++------------------ .github/workflows/test-python.yml | 4 ++-- 2 files changed, 18 insertions(+), 25 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index a8861fb34..22757d829 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -35,47 +35,40 @@ jobs: - name: Verify 3.8 run: python __tests__/verify-python.py 3.8 - - name: Run with setup-python 3.7.5 + - name: Run with setup-python 3.7.13 uses: ./ with: - python-version: 3.7.5 - - name: Verify 3.7.5 - run: python __tests__/verify-python.py 3.7.5 + python-version: 3.7.13 + - name: Verify 3.7.13 + run: python __tests__/verify-python.py 3.7.13 - - name: Run with setup-python 3.6.7 + - name: Run with setup-python 3.8.12 uses: ./ with: - python-version: 3.6.7 - - name: Verify 3.6.7 - run: python __tests__/verify-python.py 3.6.7 + python-version: 3.8.12 + - name: Verify 3.8.12 + run: python __tests__/verify-python.py 3.8.12 - - name: Run with setup-python 3.8.1 - uses: ./ - with: - python-version: 3.8.1 - - name: Verify 3.8.1 - run: python __tests__/verify-python.py 3.8.1 - - - name: Run with setup-python 3.10 + - name: Run with setup-python 3.10.4 id: cp310 uses: ./ with: - python-version: '3.10' + python-version: '3.10.4' - name: Verify 3.10 - run: python __tests__/verify-python.py 3.10 - - name: Run python-path sample 3.10 + run: python __tests__/verify-python.py 3.10.4 + - name: Run python-path sample 3.10.4 run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version - name: Run with setup-python ==3.8 uses: ./ with: - python-version: '==3.8' - - name: Verify ==3.8 - run: python __tests__/verify-python.py 3.8 + python-version: '==3.8.12' + - name: Verify ==3.8.12 + run: python __tests__/verify-python.py 3.8.12 - name: Run with setup-python <3.11 uses: ./ with: python-version: '<3.11' - name: Verify <3.11 - run: python __tests__/verify-python.py 3.10 + run: python __tests__/verify-python.py 3.10.4 diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index f45728df1..b16692cb7 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -251,11 +251,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: setup-python 3.9.0-beta.4 + - name: setup-python 3.11.0-beta.4 id: setup-python uses: ./ with: - python-version: '3.9.0-beta.4' + python-version: '3.11.0-beta.4' - name: Check python-path run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}' From 77a921a7694a30f442b9a8510aa3a5a983c4ca55 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 12:36:11 +0530 Subject: [PATCH 05/13] check failures fix for older versions --- .github/workflows/e2e-tests.yml | 2 +- .github/workflows/test-python.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 22757d829..6f31f5841 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -71,4 +71,4 @@ jobs: with: python-version: '<3.11' - name: Verify <3.11 - run: python __tests__/verify-python.py 3.10.4 + run: python __tests__/verify-python.py 3.10 diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index b16692cb7..d440cd02d 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -264,8 +264,8 @@ jobs: - name: Validate version run: | $pythonVersion = (python --version) - if ("Python 3.9.0b4" -ne "$pythonVersion"){ - Write-Host "The current version is $pythonVersion; expected version is 3.9.0b4" + if ("Python 3.11.0b4" -ne "$pythonVersion"){ + Write-Host "The current version is $pythonVersion; expected version is 3.11.0b4" exit 1 } $pythonVersion From f1041c059c693a176b818f0678221d6df48f8fcd Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 12:56:09 +0530 Subject: [PATCH 06/13] check failure fix --- .github/workflows/e2e-tests.yml | 95 ++++++++++++++++----------------- 1 file changed, 46 insertions(+), 49 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 6f31f5841..1f56a7a62 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -13,62 +13,59 @@ on: jobs: test-setup-python: name: Test setup-python - runs-on: ${{ matrix.operating-system }} + runs-on: ${{ matrix.os }} strategy: matrix: - operating-system: [ubuntu-22.04, windows-latest] - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Run with setup-python 3.7 - uses: ./ - with: - python-version: 3.7 - - name: Verify 3.7 - run: python __tests__/verify-python.py 3.7 + include: + # ubuntu-only + - os: ubuntu-22.04 + python: 3.7.13 + - os: ubuntu-22.04 + python: 3.8.12 - - name: Run with setup-python 3.8 - uses: ./ - with: - python-version: 3.8 - - name: Verify 3.8 - run: python __tests__/verify-python.py 3.8 + # windows-only + - os: windows-latest + python: 3.7.5 + - os: windows-latest + python: 3.6.7 + - os: windows-latest + python: 3.8.1 - - name: Run with setup-python 3.7.13 - uses: ./ - with: - python-version: 3.7.13 - - name: Verify 3.7.13 - run: python __tests__/verify-python.py 3.7.13 + # both platforms + - os: ubuntu-22.04 + python: 3.7 + - os: windows-latest + python: 3.7 + - os: ubuntu-22.04 + python: 3.8 + - os: windows-latest + python: 3.8 + - os: ubuntu-22.04 + python: 3.10.4 + - os: windows-latest + python: 3.10.4 + - os: ubuntu-22.04 + python: '==3.8.12' + - os: windows-latest + python: '==3.8.12' + - os: ubuntu-22.04 + python: '<3.11' + - os: windows-latest + python: '<3.11' - - name: Run with setup-python 3.8.12 - uses: ./ - with: - python-version: 3.8.12 - - name: Verify 3.8.12 - run: python __tests__/verify-python.py 3.8.12 + steps: + - name: Checkout + uses: actions/checkout@v4 - - name: Run with setup-python 3.10.4 - id: cp310 + - name: Setup Python ${{ matrix.python }} + id: setup uses: ./ with: - python-version: '3.10.4' - - name: Verify 3.10 - run: python __tests__/verify-python.py 3.10.4 - - name: Run python-path sample 3.10.4 - run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version + python-version: ${{ matrix.python }} - - name: Run with setup-python ==3.8 - uses: ./ - with: - python-version: '==3.8.12' - - name: Verify ==3.8.12 - run: python __tests__/verify-python.py 3.8.12 + - name: Verify Python ${{ matrix.python }} + run: python __tests__/verify-python.py ${{ matrix.python }} - - name: Run with setup-python <3.11 - uses: ./ - with: - python-version: '<3.11' - - name: Verify <3.11 - run: python __tests__/verify-python.py 3.10 + - name: Run python-path sample + if: ${{ matrix.python == '3.10.4' }} + run: pipx run --python '${{ steps.setup.outputs.python-path }}' nox --version From 3c705bdb24b9700cf50b56618ae4a1c965face12 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 13:00:23 +0530 Subject: [PATCH 07/13] check failure fix --- .github/workflows/e2e-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 1f56a7a62..4f9282f95 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -45,9 +45,9 @@ jobs: - os: windows-latest python: 3.10.4 - os: ubuntu-22.04 - python: '==3.8.12' + python: '3.8.12' - os: windows-latest - python: '==3.8.12' + python: '3.8.12' - os: ubuntu-22.04 python: '<3.11' - os: windows-latest From 052a7bb8d04255522ad4da06f6f346e587ba936f Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 13:03:41 +0530 Subject: [PATCH 08/13] compatable version update --- .github/workflows/e2e-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 4f9282f95..a3ebaca3e 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -50,8 +50,10 @@ jobs: python: '3.8.12' - os: ubuntu-22.04 python: '<3.11' + verify-version: '3.10' - os: windows-latest python: '<3.11' + verify-version: '3.10' steps: - name: Checkout From 3d7cd88c36932a2a65b2e5713458875e80681a1d Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 13:05:40 +0530 Subject: [PATCH 09/13] compatable version update for ubuntu-22.04 and windows --- .github/workflows/e2e-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index a3ebaca3e..389da93db 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -66,7 +66,7 @@ jobs: python-version: ${{ matrix.python }} - name: Verify Python ${{ matrix.python }} - run: python __tests__/verify-python.py ${{ matrix.python }} + run: python __tests__/verify-python.py ${{ matrix.verify-version || matrix.python }} - name: Run python-path sample if: ${{ matrix.python == '3.10.4' }} From 1fe8f1d6ecd98623d8b7f83707014da8427f34a2 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 13:11:50 +0530 Subject: [PATCH 10/13] fix --- .github/workflows/e2e-tests.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 389da93db..d7ca6632a 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -44,10 +44,6 @@ jobs: python: 3.10.4 - os: windows-latest python: 3.10.4 - - os: ubuntu-22.04 - python: '3.8.12' - - os: windows-latest - python: '3.8.12' - os: ubuntu-22.04 python: '<3.11' verify-version: '3.10' From b3d00b79c66dc92f881898abc24fd4feebdbe2b3 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 14:52:15 +0530 Subject: [PATCH 11/13] update e2e tests format --- .github/workflows/e2e-tests.yml | 117 ++++++++++++++++++++------------ 1 file changed, 73 insertions(+), 44 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index d7ca6632a..3b78ab609 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -3,7 +3,7 @@ name: e2e tests on: push: branches: - - main + - samplev4 paths-ignore: - '**.md' pull_request: @@ -13,57 +13,86 @@ on: jobs: test-setup-python: name: Test setup-python - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.operating-system }} strategy: matrix: - include: - # ubuntu-only - - os: ubuntu-22.04 - python: 3.7.13 - - os: ubuntu-22.04 - python: 3.8.12 - - # windows-only - - os: windows-latest - python: 3.7.5 - - os: windows-latest - python: 3.6.7 - - os: windows-latest - python: 3.8.1 - - # both platforms - - os: ubuntu-22.04 - python: 3.7 - - os: windows-latest - python: 3.7 - - os: ubuntu-22.04 - python: 3.8 - - os: windows-latest - python: 3.8 - - os: ubuntu-22.04 - python: 3.10.4 - - os: windows-latest - python: 3.10.4 - - os: ubuntu-22.04 - python: '<3.11' - verify-version: '3.10' - - os: windows-latest - python: '<3.11' - verify-version: '3.10' + operating-system: [ubuntu-22.04, windows-latest] + fail-fast: false steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup Python ${{ matrix.python }} - id: setup + - name: Run with setup-python 3.6 + if: ${{ matrix.operating-system == 'windows-latest' }} + uses: ./ + with: + python-version: 3.6 + - name: Verify 3.6 + if: ${{ matrix.operating-system == 'windows-latest' }} + run: python __tests__/verify-python.py 3.6 + + - name: Run with setup-python 3.7 + uses: ./ + with: + python-version: 3.7 + - name: Verify 3.7 + run: python __tests__/verify-python.py 3.7 + + - name: Run with setup-python 3.8 + uses: ./ + with: + python-version: 3.8 + - name: Verify 3.8 + run: python __tests__/verify-python.py 3.8 + + - name: Run with setup-python 3.7.5 + if: ${{ matrix.operating-system == 'windows-latest' }} + uses: ./ + with: + python-version: 3.7.5 + - name: Verify 3.7.5 + if: ${{ matrix.operating-system == 'windows-latest' }} + run: python __tests__/verify-python.py 3.7.5 + + - name: Run with setup-python 3.6.7 + if: ${{ matrix.operating-system == 'windows-latest' }} + uses: ./ + with: + python-version: 3.6.7 + - name: Verify 3.6.7 + if: ${{ matrix.operating-system == 'windows-latest' }} + run: python __tests__/verify-python.py 3.6.7 + + - name: Run with setup-python 3.8.1 + if: ${{ matrix.operating-system == 'windows-latest' }} + uses: ./ + with: + python-version: 3.8.1 + - name: Verify 3.8.1 + if: ${{ matrix.operating-system == 'windows-latest' }} + run: python __tests__/verify-python.py 3.8.1 + + - name: Run with setup-python 3.10 + id: cp310 uses: ./ with: - python-version: ${{ matrix.python }} + python-version: '3.10' + - name: Verify 3.10 + run: python __tests__/verify-python.py 3.10 + - name: Run python-path sample 3.10 + run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version - - name: Verify Python ${{ matrix.python }} - run: python __tests__/verify-python.py ${{ matrix.verify-version || matrix.python }} + - name: Run with setup-python ==3.8 + uses: ./ + with: + python-version: '==3.8' + - name: Verify ==3.8 + run: python __tests__/verify-python.py 3.8 - - name: Run python-path sample - if: ${{ matrix.python == '3.10.4' }} - run: pipx run --python '${{ steps.setup.outputs.python-path }}' nox --version + - name: Run with setup-python <3.11 + uses: ./ + with: + python-version: '<3.11' + - name: Verify <3.11 + run: python __tests__/verify-python.py 3.10 From afa05ce07d0dc8120b1556bad8c89907ff5e28f4 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 15:06:42 +0530 Subject: [PATCH 12/13] fomat update --- .github/workflows/e2e-tests.yml | 41 +++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 3b78ab609..161a05317 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -3,7 +3,7 @@ name: e2e tests on: push: branches: - - samplev4 + - main paths-ignore: - '**.md' pull_request: @@ -13,23 +13,22 @@ on: jobs: test-setup-python: name: Test setup-python - runs-on: ${{ matrix.operating-system }} + runs-on: ${{ matrix.os }} strategy: matrix: - operating-system: [ubuntu-22.04, windows-latest] - fail-fast: false + os: [ubuntu-22.04, windows-latest] steps: - name: Checkout uses: actions/checkout@v4 - name: Run with setup-python 3.6 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} uses: ./ with: python-version: 3.6 - name: Verify 3.6 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} run: python __tests__/verify-python.py 3.6 - name: Run with setup-python 3.7 @@ -47,32 +46,50 @@ jobs: run: python __tests__/verify-python.py 3.8 - name: Run with setup-python 3.7.5 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} uses: ./ with: python-version: 3.7.5 - name: Verify 3.7.5 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} run: python __tests__/verify-python.py 3.7.5 - name: Run with setup-python 3.6.7 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} uses: ./ with: python-version: 3.6.7 - name: Verify 3.6.7 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} run: python __tests__/verify-python.py 3.6.7 - name: Run with setup-python 3.8.1 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} uses: ./ with: python-version: 3.8.1 - name: Verify 3.8.1 - if: ${{ matrix.operating-system == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' }} run: python __tests__/verify-python.py 3.8.1 + - name: Run with setup-python 3.7.13 + if: ${{ matrix.os == 'ubuntu-22.04' }} + uses: ./ + with: + python-version: 3.7.13 + - name: Verify 3.7.13 + if: ${{ matrix.os == 'ubuntu-22.04' }} + run: python __tests__/verify-python.py 3.7.13 + + - name: Run with setup-python 3.8.12 + if: ${{ matrix.os == 'ubuntu-22.04' }} + uses: ./ + with: + python-version: 3.8.12 + - name: Verify 3.8.12 + if: ${{ matrix.os == 'ubuntu-22.04' }} + run: python __tests__/verify-python.py 3.8.12 + - name: Run with setup-python 3.10 id: cp310 uses: ./ From c6236f24d84d020cbf89f826643b96892b558ef1 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 15:16:34 +0530 Subject: [PATCH 13/13] updated wording --- .github/workflows/e2e-tests.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 161a05317..d381f859c 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -13,22 +13,22 @@ on: jobs: test-setup-python: name: Test setup-python - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.operating-system }} strategy: matrix: - os: [ubuntu-22.04, windows-latest] + operating-system: [ubuntu-22.04, windows-latest] steps: - name: Checkout uses: actions/checkout@v4 - name: Run with setup-python 3.6 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} uses: ./ with: python-version: 3.6 - name: Verify 3.6 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} run: python __tests__/verify-python.py 3.6 - name: Run with setup-python 3.7 @@ -46,48 +46,48 @@ jobs: run: python __tests__/verify-python.py 3.8 - name: Run with setup-python 3.7.5 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} uses: ./ with: python-version: 3.7.5 - name: Verify 3.7.5 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} run: python __tests__/verify-python.py 3.7.5 - name: Run with setup-python 3.6.7 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} uses: ./ with: python-version: 3.6.7 - name: Verify 3.6.7 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} run: python __tests__/verify-python.py 3.6.7 - name: Run with setup-python 3.8.1 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} uses: ./ with: python-version: 3.8.1 - name: Verify 3.8.1 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.operating-system == 'windows-latest' }} run: python __tests__/verify-python.py 3.8.1 - name: Run with setup-python 3.7.13 - if: ${{ matrix.os == 'ubuntu-22.04' }} + if: ${{ matrix.operating-system == 'ubuntu-22.04' }} uses: ./ with: python-version: 3.7.13 - name: Verify 3.7.13 - if: ${{ matrix.os == 'ubuntu-22.04' }} + if: ${{ matrix.operating-system == 'ubuntu-22.04' }} run: python __tests__/verify-python.py 3.7.13 - name: Run with setup-python 3.8.12 - if: ${{ matrix.os == 'ubuntu-22.04' }} + if: ${{ matrix.operating-system == 'ubuntu-22.04' }} uses: ./ with: python-version: 3.8.12 - name: Verify 3.8.12 - if: ${{ matrix.os == 'ubuntu-22.04' }} + if: ${{ matrix.operating-system == 'ubuntu-22.04' }} run: python __tests__/verify-python.py 3.8.12 - name: Run with setup-python 3.10