From ceadb38637473e6d59a786f3247561989585d220 Mon Sep 17 00:00:00 2001 From: lei-ju Date: Mon, 22 Apr 2024 17:09:27 +0800 Subject: [PATCH 1/2] update github action --- .github/workflows/python-installation.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index eeb8ac21..e51a0875 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -4,10 +4,20 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + py-version: + - 3.7 + - 3.8 + - 3.9 + runs-on: ${{ matrix.os }} steps: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: ${{ matrix.py-version }} \ No newline at end of file From d1a5bb38cc3d7e7d406e636fe993830dfd95a28e Mon Sep 17 00:00:00 2001 From: lei-ju Date: Mon, 22 Apr 2024 17:14:17 +0800 Subject: [PATCH 2/2] Update python-installation.yml --- .github/workflows/python-installation.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index e51a0875..248f35c4 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -10,14 +10,18 @@ jobs: - ubuntu-latest - macos-latest - windows-latest + py-version: - 3.7 - 3.8 - 3.9 + exclude: + - os: macos-latest + py-version: 3.9 runs-on: ${{ matrix.os }} steps: - name: Set up Python uses: actions/setup-python@v4 with: python-version: ${{ matrix.py-version }} - \ No newline at end of file +