Skip to content

Commit

Permalink
Adjusting macOS connection
Browse files Browse the repository at this point in the history
  • Loading branch information
sanak committed Jun 16, 2024
1 parent c900f00 commit 62e4bef
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

jobs:
test-ubuntu:
test-macos:
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -37,6 +37,16 @@ jobs:
cpan TAP::Parser::SourceHandler::pgTAP
ln -s $(find `brew --prefix` -name pg_prove) symlink it into $(brew --prefix)/bin
- name: Start PostgreSQL
run: |
pg_ctl -D $(brew --prefix)/var/postgresql@14 start
createuser -s postgres
- name: Wait PostgreSQL launch
run: |
pg_isready -U postgres -h localhost -p 5432
psql -U postgres -h localhost -p 5432 -c "SELECT version();"
- name: Set up database
run: |
cp .env.example .env
Expand Down

0 comments on commit 62e4bef

Please sign in to comment.