Skip to content

Commit 7c6d806

Browse files
committed
Test on macOS M1 where available
1 parent 15dc431 commit 7c6d806

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
os: [
39-
"macos-latest",
39+
"macos-14",
4040
"ubuntu-latest",
4141
]
4242
python-version: [
@@ -50,11 +50,21 @@ jobs:
5050
"3.8",
5151
]
5252
include:
53-
- python-version: "3.9"
53+
- python-version: "3.11"
5454
PYTHONOPTIMIZE: 1
5555
REVERSE: "--reverse"
56-
- python-version: "3.8"
56+
- python-version: "3.10"
5757
PYTHONOPTIMIZE: 2
58+
# M1 only available for 3.10+
59+
- os: "macos-latest"
60+
python-version: "3.9"
61+
- os: "macos-latest"
62+
python-version: "3.8"
63+
exclude:
64+
- os: "macos-14"
65+
python-version: "3.9"
66+
- os: "macos-14"
67+
python-version: "3.8"
5868

5969
runs-on: ${{ matrix.os }}
6070
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
@@ -141,7 +151,7 @@ jobs:
141151
- name: Upload coverage
142152
uses: codecov/codecov-action@v3
143153
with:
144-
flags: ${{ matrix.os == 'macos-latest' && 'GHA_macOS' || 'GHA_Ubuntu' }}
154+
flags: ${{ matrix.os == 'ubuntu-latest' && 'GHA_Ubuntu' || 'GHA_macOS' }}
145155
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
146156
gcov: true
147157

0 commit comments

Comments
 (0)