From 28640ba29e623b7c6509eb08caacc5348f4146c8 Mon Sep 17 00:00:00 2001 From: StephenGemin Date: Wed, 24 Apr 2024 23:07:07 -0400 Subject: [PATCH] ci: update python-app workflow Use macos-13 runner for python 3.8 & 3.9 --- .github/workflows/python-app.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 5877a9f75..fd3e3d77a 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -20,11 +20,14 @@ jobs: matrix: python-version: [ 3.8, 3.9, "3.10", "3.11", "3.12" ] os: [ ubuntu-latest, macos-latest, windows-latest ] + # Python <3.10 not available for macos-latest (macos-14-arm64) + # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760 exclude: - - os: macos-latest - python-version: 3.8 - - os: macos-latest - python-version: 3.9 + - { python-version: 3.8, os: macos-latest } + - { python-version: 3.9, os: macos-latest } + include: + - { python-version: 3.8, os: macos-13 } + - { python-version: 3.9, os: macos-13 } steps: - uses: actions/checkout@v4