File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 run : docker compose version
1818
1919 - name : Build and run services
20- run : docker compose up -d --build
20+ run : docker compose up -d db
2121
22- - name : Wait for Postgres to be ready
23- run : |
24- until docker compose exec -T db pg_isready -U testuser; do
25- echo "Waiting for Postgres..."
26- sleep 2
27- done
2822
2923
3024 - name : Set up Go
3529 - name : Install dependencies
3630 run : go mod tidy
3731
32+
33+ - name : Wait for Postgres to be ready
34+ run : |
35+ until docker compose exec -T db pg_isready -U testuser; do
36+ echo "Waiting for Postgres..."
37+ sleep 2
38+ done
39+
3840 - name : Run tests
3941 run : go test -cover ./...
4042
Original file line number Diff line number Diff line change 44
55test ::
66 sqlc generate
7- go test -count=1 ./...
7+ go test -count=1 -cover ./...
88
99staging ::
1010 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/bridge-amd64
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ test diffs from v1/ endpoints
3232make apidiff
3333```
3434
35+ ## adminer
36+
37+ http://localhost:21301/?pgsql=db&username=postgres
38+
3539## Schema dump
3640
3741```
You can’t perform that action at this time.
0 commit comments