Skip to content

Commit

Permalink
chore: upgrade macos-12 to macos-latest-large in workflow
Browse files Browse the repository at this point in the history
The macOS 12 Actions runner image began deprecation on 7/10/24 and will be fully unsupported by 3/12/24 for GitHub and ADO. For more details, see actions/runner-images#10721.

Using macos-latest-large instead of macos-latest, as the latter is ARM-based, while we require AMD architecture (abbbc87). For more details, see actions/runner-images#9741, and the table in https://github.com/actions/runner-images/blob/ubuntu24/20241117.1/README.md#available-images.
  • Loading branch information
Adamantios committed Nov 20, 2024
1 parent a625d06 commit 81556e7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest, macos-12, windows-latest ]
os: [ ubuntu-latest, macos-latest-large, windows-latest ]
python-version: ["3.10.9"]

timeout-minutes: 18
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest, macos-12, windows-latest ]
os: [ ubuntu-latest, macos-latest-large, windows-latest ]
python-version: [ "3.8", "3.9", "3.10.9", "3.11" ]

timeout-minutes: 90
Expand Down Expand Up @@ -269,8 +269,8 @@ jobs:
run: |
tox -e packages-py${{ matrix.python-version }}-linux -- -m 'not e2e'
- if: matrix.os == 'macos-12'
name: Install dependencies (macos-12)
- if: matrix.os == 'macos-latest-large'
name: Install dependencies (macos-latest-large)
run: |
pip install tomte[tox]==0.2.17
Expand Down Expand Up @@ -305,13 +305,13 @@ jobs:
sudo install skaffold /usr/local/bin/
skaffold --help
- if: matrix.os == 'macos-12'
name: Framework unit tests macos-12
- if: matrix.os == 'macos-latest-large'
name: Framework unit tests macos-latest-large
run: |
tox -e py${{ matrix.python-version }}-darwin -- -m 'not e2e'
- if: matrix.os == 'macos-12'
name: Packages unit tests macos-12
- if: matrix.os == 'macos-latest-large'
name: Packages unit tests macos-latest-large
run: |
tox -e packages-py${{ matrix.python-version }}-darwin -- -m 'not e2e'
Expand Down

0 comments on commit 81556e7

Please sign in to comment.