From 0330c0338ffae049d2374b6e15a34e5422b49572 Mon Sep 17 00:00:00 2001 From: danibene <34680344+danibene@users.noreply.github.com> Date: Fri, 31 May 2024 22:57:11 -0400 Subject: [PATCH] change os tested for python following https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315 --- .github/workflows/ci.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65a9bb4..131cea5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,14 +58,16 @@ jobs: test: needs: prepare strategy: + fail-fast: false matrix: - python: - - "3.7" # oldest Python supported by PSF - - "3.11" # newest Python that is stable - platform: - - ubuntu-latest - - macos-latest - - windows-latest + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + platform: [ubuntu-latest, macos-latest, windows-latest] + exclude: # Python < v3.8 does not support Apple Silicon ARM64. + - python: "3.7" + platform: macos-latest + include: # So run those legacy versions on Intel CPUs. + - python: "3.7" + platform: macos-13 runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 @@ -92,7 +94,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 - with: {python-version: "3.11"} + with: {python-version: "3.10"} - name: Retrieve pre-built distribution files uses: actions/download-artifact@v3 with: {name: python-distribution-files, path: dist/}