Skip to content

Commit

Permalink
Pin GHA MacOS jobs to MacOS 12 (#12658)
Browse files Browse the repository at this point in the history
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
  • Loading branch information
pradyunsg and pradyunsg committed Apr 29, 2024
1 parent e884c00 commit f18bebd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

tests-unix:
name: tests / ${{ matrix.python.key || matrix.python }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}

needs: [packaging, determine-changes]
if: >-
Expand All @@ -107,7 +107,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [Ubuntu, MacOS]
os: [ubuntu-latest, macos-12]
python:
- "3.8"
- "3.9"
Expand All @@ -123,13 +123,13 @@ jobs:
allow-prereleases: true

- name: Install Ubuntu dependencies
if: matrix.os == 'Ubuntu'
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install bzr
- name: Install MacOS dependencies
if: matrix.os == 'MacOS'
if: matrix.os == 'macos-12'
run: brew install breezy

- run: pip install nox
Expand Down

0 comments on commit f18bebd

Please sign in to comment.