Skip to content

Commit 332ea0e

Browse files
committed
build(tests): atempt to create a new role
Refs: #1
1 parent 13e58ef commit 332ea0e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/run_tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15+
- uses: ikalnytskyi/action-setup-postgres@v7
1516
- name: Install postgres
1617
run: |
17-
sudo apt update
18-
sudo apt install postgresql postgresql-contrib
19-
sudo systemctl status postgresql
20-
sudo systemclt start postgresql
18+
psql postgresql://postgres:postgres@localhost:5432/postgres -f ./scripts/roles.sql
2119
psql postgresql://postgres:postgres@localhost:5432/postgres -c "SELECT 1"
2220
psql service=postgres -c "SELECT 1"
2321
psql -c "SELECT 1"
22+
su - postgresql
2423
env:
2524
PGSERVICE: postgres
2625
- name: Setup Go ${{ matrix.go-version }}

0 commit comments

Comments
 (0)