File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 33
33
# Don't test 32-bit on macOS
34
34
- os : macOS-latest
35
35
arch : x86
36
+ macos-postgresql-path :
37
+ - /opt/homebrew/opt/postgresql
36
38
include :
37
39
# Add a LTS job just to make sure we still support it
38
40
- os : ubuntu-latest
56
58
version : 1
57
59
arch : x64
58
60
postgresql-version : ' 10'
61
+ - os : macos-13
62
+ version : 1
63
+ arch : x64
64
+ postgresql-version : latest
65
+ macos-postgresql-path : /usr/local/var/postgresql
59
66
steps :
60
67
- uses : actions/checkout@v2
61
68
- uses : julia-actions/setup-julia@v1
@@ -102,7 +109,7 @@ jobs:
102
109
echo "LIBPQJL_DATABASE_USER=$USER" >> $GITHUB_ENV
103
110
if : ${{ runner.os == 'macOS' }}
104
111
- name : Start Homebrew PostgreSQL service
105
- run : pg_ctl -D /usr/local/var/ postgresql@$(psql --version | cut -f3 -d' ' | cut -f1 -d.) start
112
+ run : pg_ctl -D ${{ matrix.macos- postgresql-path }} @$(psql --version | cut -f3 -d' ' | cut -f1 -d.) start
106
113
if : ${{ runner.os == 'macOS' }}
107
114
# Windows
108
115
- name : Add PostgreSQL to Path
You can’t perform that action at this time.
0 commit comments