File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -102,20 +102,22 @@ jobs:
102
102
- name : Install postgres (MacOS)
103
103
if : matrix.os == 'macos-13' && matrix.backend == 'postgres'
104
104
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
107
107
sleep 3
108
108
createuser -s postgres
109
- echo "DATABASE_URL=postgres://postgres@localhost/" >> $GITHUB_ENV
109
+ echo "PG_DATABASE_URL=postgres://postgres@localhost/" >> $GITHUB_ENV
110
+ echo "PG_EXAMPLE_DATABASE_URL=postgres://postgres@localhost/diesel_example" >> $GITHUB_ENV
110
111
111
112
- name : Install postgres (MacOS M1)
112
113
if : matrix.os == 'macos-14' && matrix.backend == 'postgres'
113
114
run : |
114
- brew install postgresql
115
+ brew install postgresql@14
115
116
brew services start postgresql@14
116
117
sleep 3
117
118
createuser -s postgres
118
119
echo "DATABASE_URL=postgres://postgres@localhost/" >> $GITHUB_ENV
120
+
119
121
- name : Install sqlite (MacOS)
120
122
if : runner.os == 'macOS' && matrix.backend == 'sqlite'
121
123
run : |
You can’t perform that action at this time.
0 commit comments