Skip to content

Commit 1c18fc9

Browse files
authored
Added 10 second delay to wait for PostgreSQL to startup
1 parent 69c7abb commit 1c18fc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: Create-DB
2828
run: docker-compose up -d
2929

30+
- name: Wait for PostgreSQL
31+
run: sleep 10
32+
3033
- name: Test
3134
run: go test -v main_test.go
3235

0 commit comments

Comments
 (0)