Skip to content

Commit

Permalink
Start PostgreSQL before connecting to it
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSenellart committed Feb 27, 2024
1 parent 84e2860 commit 87e1efc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ jobs:
steps:
- run: brew install postgresql
- run: brew install boost
- run: brew services start postgresql
- uses: actions/checkout@v4
- run: make && make tdkc && make install
- run: pg_isready -t 30
- run: echo "POSTGRESQL_CONFIG=$(psql -t -c 'SHOW config_file' postgres)" >> $GITHUB_ENV
- run: echo "shared_preload_libraries = 'provsql'" >> $POSTGRESQL_CONFIG
- run: brew services restart postgresql
- run: "perl -i -pe 's/ c2d//; s/ d4//; s/ weightmc//; s/ dsharp//; s/ view_circuit_multiple//; s/test: *$//' test/schedule"
- run: pg_isready -t 30
- run: "perl -i -pe 's/ c2d//; s/ d4//; s/ weightmc//; s/ dsharp//; s/ view_circuit_multiple//; s/test: *$//' test/schedule"
- run: make installcheck || bash -c "shopt -s nullglob; cat /tmp/tmp.provsql*/regression.diffs && for i in /tmp/provsql*; do echo $i && cat $i; done; false"

0 comments on commit 87e1efc

Please sign in to comment.