Skip to content

Commit f0662f8

Browse files
committed
build(tests): add initial postgres action to tests
Refs: #1
1 parent 071da77 commit f0662f8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/run_tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15+
- uses: ikalnytskyi/action-setup-postgres@v7
16+
- name: Install postgres
17+
run: |
18+
psql postgresql://postgres:postgres@localhost:5432/postgres -c "SELECT 1"
19+
psql service=postgres -c "SELECT 1"
20+
psql -c "SELECT 1"
21+
env:
22+
PGSERVICE: postgres
1523
- name: Setup Go ${{ matrix.go-version }}
1624
uses: actions/setup-go@v5
1725
with:

0 commit comments

Comments
 (0)