We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f2a9b commit ba90ecdCopy full SHA for ba90ecd
.github/workflows/testing.yml
@@ -13,9 +13,7 @@ jobs:
13
14
services:
15
postgres:
16
- image: postgres:9.6-alpine
17
- ports:
18
- - "5432"
+ image: postgres:9.6
19
env:
20
POSTGRES_USER: test
21
POSTGRES_PASSWORD: test
@@ -35,7 +33,7 @@ jobs:
35
33
if: success()
36
34
run: go test -timeout 60s -cover ./... -coverprofile=coverage.txt -covermode=atomic
37
38
- PG_URI: "postgres://test:test@localhost:${{ job.services.postgres.ports[5432] }}/test?sslmode=disable"
+ PG_URI: "postgres://test:test@postgres:5432/test?sslmode=disable"
39
40
- name: Upload coverage to Codecov
41
uses: codecov/codecov-action@v1
0 commit comments