From 3ebf47eca9ebde883c9020257b372a569e8fc867 Mon Sep 17 00:00:00 2001 From: michaleusz Date: Tue, 2 Dec 2025 08:20:19 +0100 Subject: [PATCH] Enhance Python installation workflow Updated the workflow to support multiple OS and Python versions. --- .github/workflows/python-installation.yml | 26 +++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 591066bd..5c4d19ac 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -1,13 +1,21 @@ name: Installing Python - -on: [push] - +'on': + - push jobs: build: - runs-on: ubuntu-latest + runs-on: '${{ matrix.os }}' + strategy: + matrix: + os: + - ubuntu-latest + - macos-14 + - windows-latest + py-version: + - "3.10" + - "3.11" + - "3.12" steps: - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: 3.10 - + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '${{ matrix.py-version }}'