Skip to content

Commit

Permalink
tests.yaml: change macos-latest to macos-13 (#3084)
Browse files Browse the repository at this point in the history
GHA has changed the macos-latest alias to macos-14 (arm64), hence to get
Intel Mac one now needs to explicitly select macos-13.
Cf https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
  • Loading branch information
rouault committed Apr 28, 2024
1 parent ff378ad commit d2f0b04
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ jobs:
strategy:
fail-fast: true
matrix:
# macos-14 is osx-arm64
os: [macos-latest, macos-14]
# macos-13 is OSX Intel
# macos-14 is OSX Arm64
os: [macos-13, macos-14]
python-version: ['3.9', '3.10', '3.11']
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -191,7 +192,7 @@ jobs:
python -m pytest -v -m "not wheel" -rxXs --cov rasterio --cov-report term-missing -k "not issue2353"
- name: Test with Coverage (OSX)
if: "${{matrix.os}} == 'macos-latest' || ${{matrix.os}} == 'macos-14'"
if: "${{matrix.os}} == 'macos-13' || ${{matrix.os}} == 'macos-14'"
shell: bash -l {0}
run: |
conda activate test
Expand Down

0 comments on commit d2f0b04

Please sign in to comment.