Skip to content

Commit d80e387

Browse files
authored
mchmarny postgres (#100)
* add postgres * test branches * add postgres service to unit tests
1 parent a9e47db commit d80e387

File tree

1,557 files changed

+98556
-1291
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,557 files changed

+98556
-1291
lines changed

.github/workflows/on-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: test
22
on:
33
push:
44
branches:
5-
- main
5+
- '**'
66
pull_request:
77
branches:
88
- main

.github/workflows/test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@ jobs:
2222
runs-on: ubuntu-latest
2323
permissions:
2424
security-events: write
25+
services:
26+
postgres:
27+
image: postgres
28+
env:
29+
POSTGRES_DB: test
30+
POSTGRES_PORT: 5432
31+
POSTGRES_USER: test
32+
POSTGRES_PASSWORD: test
33+
ports:
34+
- 5432:5432
35+
options: >-
36+
--health-cmd pg_isready
37+
--health-interval 10s
38+
--health-timeout 5s
39+
--health-retries 5
2540
steps:
2641
- name: Setup Go
2742
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
@@ -101,6 +116,21 @@ jobs:
101116
runs-on: ubuntu-latest
102117
permissions:
103118
security-events: write
119+
services:
120+
postgres:
121+
image: postgres
122+
env:
123+
POSTGRES_DB: test
124+
POSTGRES_PORT: 5432
125+
POSTGRES_USER: test
126+
POSTGRES_PASSWORD: test
127+
ports:
128+
- 5432:5432
129+
options: >-
130+
--health-cmd pg_isready
131+
--health-interval 10s
132+
--health-timeout 5s
133+
--health-retries 5
104134
steps:
105135
- name: Setup Go
106136
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0

data/PG_VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
15

data/base/1/112

8 KB
Binary file not shown.

data/base/1/113

8 KB
Binary file not shown.

data/base/1/1247

120 KB
Binary file not shown.

data/base/1/1247_fsm

24 KB
Binary file not shown.

data/base/1/1247_vm

8 KB
Binary file not shown.

data/base/1/1249

448 KB
Binary file not shown.

data/base/1/1249_fsm

24 KB
Binary file not shown.

0 commit comments

Comments
 (0)