Skip to content

Commit 6223d9d

Browse files
authored
upgrade macos version (#10974) (#10981)
* upgrade to macos-latest * force link # Conflicts: # .github/actions/setup-postgres-macos/action.yml
1 parent d30c68e commit 6223d9d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/actions/setup-postgres-macos/action.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ runs:
55
steps:
66
- shell: bash
77
run: |
8-
brew services start postgresql
8+
brew install postgresql@16
9+
brew link postgresql@16 --force
10+
brew services start postgresql@16
911
echo "Check PostgreSQL service is running"
1012
i=10
1113
COMMAND='pg_isready'

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
- name: generate include
140140
id: generate-include
141141
run: |
142-
INCLUDE=('"python-version":"3.9","os":"windows-latest"' '"python-version":"3.9","os":"macos-12"' )
142+
INCLUDE=('"python-version":"3.9","os":"windows-latest"' '"python-version":"3.9","os":"macos-14"' )
143143
INCLUDE_GROUPS="["
144144
for include in ${INCLUDE[@]}; do
145145
for group in $(seq 1 ${{ env.PYTHON_INTEGRATION_TEST_WORKERS }}); do

.github/workflows/test-repeater.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on:
3535
type: choice
3636
options:
3737
- 'ubuntu-latest'
38-
- 'macos-12'
38+
- 'macos-14'
3939
- 'windows-latest'
4040
num_runs_per_batch:
4141
description: 'Max number of times to run the test per batch. We always run 10 batches.'
@@ -100,7 +100,7 @@ jobs:
100100

101101
# mac and windows don't use make due to limitations with docker with those runners in GitHub
102102
- name: "Set up postgres (macos)"
103-
if: inputs.os == 'macos-12'
103+
if: inputs.os == 'macos-14'
104104
uses: ./.github/actions/setup-postgres-macos
105105

106106
- name: "Set up postgres (windows)"

0 commit comments

Comments
 (0)