Skip to content

Commit

Permalink
tests on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLecocq committed Sep 20, 2024
1 parent 3b267a9 commit 70d360c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_postgresql_OS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
done
shell: bash

- name: Set up PostgreSQL user and database on MacOS
if: matrix.os == 'macos-latest'
- name: Set up PostgreSQL user and database on MacOS or Linux
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
run: |
./postgresql/bin/createdb -U runner "runner"
./postgresql/bin/psql -U runner -c "CREATE USER msnoise WITH PASSWORD 'msnoise';"
Expand All @@ -87,8 +87,8 @@ jobs:
./postgresql/bin/psql -U runneradmin -c "ALTER USER msnoise WITH SUPERUSER;"
shell: bash

- name: Verify PostgreSQL setup on MacOS
if: matrix.os == 'macos-latest'
- name: Verify PostgreSQL setup on MacOS or Linux
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
run: |
./postgresql/bin/psql -U runner -c "\l"
shell: bash
Expand Down

0 comments on commit 70d360c

Please sign in to comment.