Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nifflets committed Apr 26, 2024
1 parent 7ff9e38 commit 6ed1493
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ jobs:
matrix:
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
platform: [ubuntu-latest, macos-latest, windows-latest]
# Python <= 3.9 is not available on macos-14
# Workaround for https://github.com/actions/setup-python/issues/696
exclude:
- os: macos-latest
python-version: '3.9'
- os: macos-latest
python-version: '3.8'
- os: macos-latest
python-version: '3.7'
include:
- os: macos-latest
python-version: '3.9'
- os: macos-13
python-version: '3.8'
- os: macos-13
python-version: '3.7'
runs-on: ${{ matrix.platform }}
steps:
- name: Harden Runner
Expand Down

0 comments on commit 6ed1493

Please sign in to comment.