Skip to content

Commit e6a15be

Browse files
committed
More CI fixes
1 parent 002c67e commit e6a15be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,20 +102,21 @@ jobs:
102102
- name: Install postgres (MacOS)
103103
if: matrix.os == 'macos-13' && matrix.backend == 'postgres'
104104
run: |
105-
initdb -D /usr/local/var/postgres
106-
pg_ctl -D /usr/local/var/postgres start
105+
brew install postgresql@14
106+
brew services start postgresql@14
107107
sleep 3
108108
createuser -s postgres
109109
echo "DATABASE_URL=postgres://postgres@localhost/" >> $GITHUB_ENV
110110
111111
- name: Install postgres (MacOS M1)
112112
if: matrix.os == 'macos-14' && matrix.backend == 'postgres'
113113
run: |
114-
brew install postgresql
114+
brew install postgresql@14
115115
brew services start postgresql@14
116116
sleep 3
117117
createuser -s postgres
118118
echo "DATABASE_URL=postgres://postgres@localhost/" >> $GITHUB_ENV
119+
119120
- name: Install sqlite (MacOS)
120121
if: runner.os == 'macOS' && matrix.backend == 'sqlite'
121122
run: |

0 commit comments

Comments
 (0)