From 7e07eb9d7fea7b2ff37f53c2b7c770ac7559057a Mon Sep 17 00:00:00 2001 From: lei-ju Date: Thu, 27 Mar 2025 11:43:55 +0800 Subject: [PATCH 1/2] Update python-installation.yml --- .github/workflows/python-installation.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 591066bd..7c0175c9 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -5,9 +5,13 @@ on: [push] jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macos-14, windows-latest] + py_version: [3.10, 3.11, 3.12] steps: - - name: Set up Python + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: $py_version From 807e88852459c4a64ed38cd1364e6267f1f324de Mon Sep 17 00:00:00 2001 From: lei-ju Date: Thu, 27 Mar 2025 11:48:30 +0800 Subject: [PATCH 2/2] Update python-installation.yml --- .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 7c0175c9..d2781aff 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -4,14 +4,14 @@ on: [push] 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: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: $py_version + python-version: ${{ matrix.py_version }}