From ae2704ef5c9afd76bba9f3be104902b7aae6e943 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Tue, 23 Apr 2024 13:24:47 +0200 Subject: [PATCH] fix GHA CI by using old macos for old python versions --- .github/workflows/ci.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21a513d3..96801ab6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,14 +85,25 @@ jobs: os: ["ubuntu-latest", "macos-latest", "windows-latest"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"] exclude: - - os: "macos-latest" - python-version: "pypy3.9" - - os: "ubuntu-latest" - python-version: "pypy3.9" - os: "macos-latest" python-version: "pypy3.10" - os: "windows-latest" python-version: "pypy3.10" + # Workaround for https://github.com/actions/setup-python/issues/696 + - os: "macos-latest" + python-version: 3.7 + - os: "macos-latest" + python-version: 3.8 + - os: "macos-latest" + python-version: 3.9 + include: + # Workaround for https://github.com/actions/setup-python/issues/696 + - os: "macos-12" + python-version: 3.7 + - os: "macos-12" + python-version: 3.8 + - os: "macos-12" + python-version: 3.9 steps: - uses: actions/checkout@v4 with: