Skip to content

Commit 8bda09c

Browse files
niffletsmatthewrobertson
authored andcommitted
chore: Fix unit tests (#321)
* Fix unit tests Workaround for actions/setup-python#696. macos-latest recently was updated to point to macos-14, which does not support Python 3.7, 3.8, 3.9 on ARM. * Update unit.yml * Update unit.yml
1 parent c5c28b6 commit 8bda09c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/unit.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,22 @@ jobs:
1313
matrix:
1414
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1515
platform: [ubuntu-latest, macos-latest, windows-latest]
16+
# Python <= 3.9 is not available on macos-14
17+
# Workaround for https://github.com/actions/setup-python/issues/696
18+
exclude:
19+
- platform: macos-latest
20+
python: '3.9'
21+
- platform: macos-latest
22+
python: '3.8'
23+
- platform: macos-latest
24+
python: '3.7'
25+
include:
26+
- platform: macos-latest
27+
python: '3.9'
28+
- platform: macos-13
29+
python: '3.8'
30+
- platform: macos-13
31+
python: '3.7'
1632
runs-on: ${{ matrix.platform }}
1733
steps:
1834
- name: Harden Runner

0 commit comments

Comments
 (0)