Skip to content

Commit

Permalink
chore: Fix unit tests (#321)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nifflets committed Apr 29, 2024
1 parent 7ff9e38 commit c3926f6
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:
- platform: macos-latest
python: '3.9'
- platform: macos-latest
python: '3.8'
- platform: macos-latest
python: '3.7'
include:
- platform: macos-latest
python: '3.9'
- platform: macos-13
python: '3.8'
- platform: macos-13
python: '3.7'
runs-on: ${{ matrix.platform }}
steps:
- name: Harden Runner
Expand Down

0 comments on commit c3926f6

Please sign in to comment.