From 184ad7c2914b3d4b8f9d50db7981e24740a22259 Mon Sep 17 00:00:00 2001 From: Abdul Wasay <144446656+wasaydev-1@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:41:55 -0700 Subject: [PATCH 1/6] python-workflow --- .github/workflows/python-installation.yml | 25 +++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 591066bd..a913f337 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -1,13 +1,26 @@ -name: Installing Python +name: Python Installation -on: [push] +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macos-14, windows-latest] + py-version: [3.10, 3.11, 3.12] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v4 with: - python-version: 3.10 - + python-version: ${{ matrix.py-version }} + + - name: Display Python version + run: python --version From 964d0697a7608481c3d86feed5810a59719fd82b Mon Sep 17 00:00:00 2001 From: Abdul Wasay <144446656+wasaydev-1@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:45:37 -0700 Subject: [PATCH 2/6] python-installation --- .github/workflows/python-installation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index a913f337..45f320af 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -22,5 +22,5 @@ jobs: with: python-version: ${{ matrix.py-version }} - - name: Display Python version + - name: Display Python version new run: python --version From 1c2c28529801154e339f8acaf448d634488727b1 Mon Sep 17 00:00:00 2001 From: Abdul Wasay <144446656+wasaydev-1@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:47:40 -0700 Subject: [PATCH 3/6] new-workflow --- .github/workflows/python-installation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 45f320af..357b99e4 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -18,9 +18,9 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.py-version }} - - name: Display Python version new + - name: Display Python version run: python --version From 42b3e8a586629d672d90cd3d08f177fa9a853641 Mon Sep 17 00:00:00 2001 From: Abdul Wasay <144446656+wasaydev-1@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:51:42 -0700 Subject: [PATCH 4/6] new-workflow --- .github/workflows/python-installation.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 357b99e4..4834d1d4 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -15,12 +15,12 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.py-version }} + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.py-version }} - - name: Display Python version - run: python --version + - name: Display Python version + run: python --version From a467e8fe4345353d3b4baee50911c849c06ab0c1 Mon Sep 17 00:00:00 2001 From: Abdul Wasay <144446656+wasaydev-1@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:56:30 -0700 Subject: [PATCH 5/6] new-workflow --- .github/workflows/python-installation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 4834d1d4..3dcc1963 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-14, windows-latest] - py-version: [3.10, 3.11, 3.12] + py-version: ["3.10", "3.11", "3.12"] runs-on: ${{ matrix.os }} steps: @@ -23,4 +23,4 @@ jobs: python-version: ${{ matrix.py-version }} - name: Display Python version - run: python --version + run: python --version \ No newline at end of file From a866e3d06ff1fea34eef4783d30d12d9904308c7 Mon Sep 17 00:00:00 2001 From: Abdul Wasay <144446656+wasaydev-1@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:57:59 -0700 Subject: [PATCH 6/6] exclude-commit --- .github/workflows/python-installation.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 3dcc1963..d0e401cf 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -12,6 +12,9 @@ jobs: matrix: os: [ubuntu-latest, macos-14, windows-latest] py-version: ["3.10", "3.11", "3.12"] + exclude: + - os: macos-14 + py-version: "3.12" runs-on: ${{ matrix.os }} steps: