diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 032a7911..a5d4f693 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,8 +16,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, windows-latest] python-version: ["3.9", "3.10", "3.11"] + include: + # MacOS latest does not support 3.9, 3.10 + -python-version: "3.9" + os: macos-13 + -python-version: "3.10" + os: macos-13 + -python-version: "3.11" + os: macos-latest name: Python ${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -46,8 +54,8 @@ jobs: - name: Install on MacOS if: ${{ matrix.os == 'macos-latest' }} run: | - brew reinstall gcc - CC=/usr/local/bin/gcc pip install .[test] + brew reinstall gcc-14 + CC=/usr/local/bin/gcc-14 pip install .[test] - name: Install on Windows if: ${{ matrix.os == 'windows-latest' }}