Skip to content

Commit

Permalink
BUG: include syntax
Browse files Browse the repository at this point in the history
Added space after dash.  Also tried containsValue function for new macOS runs.
  • Loading branch information
aburrell committed Nov 7, 2024
1 parent 3b79447 commit 9381b18
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@ jobs:
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11"]
test_config: ["latest"]
include:
-python-version: "3.9"
os: "macos-13"
test_config: ["macos-3.9"]
-python-version: "3.10"
os: "macos-13"
test_config: ["macos-3.10"]
-python-version: "3.11"
os: "macos-latest"
test_config: ["macos-3.11"]
- 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 }}
Expand All @@ -55,7 +51,7 @@ jobs:
run: pip install .[test]

- name: Install on MacOS
if: ${{ matrix.os == 'macos-latest' }}
if: ${{ containsValue(matrix.os, 'macos') }}
run: |
brew reinstall gcc-14
CC=/usr/local/bin/gcc-14 pip install .[test]
Expand Down

0 comments on commit 9381b18

Please sign in to comment.