File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 13
13
ports :
14
14
- 5432:5432
15
15
volumes :
16
- -
16
+ - tests/sock:/var/run/postgresql
17
17
# needed because the postgres container does not provide a healthcheck
18
18
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
19
19
steps :
36
36
command : test
37
37
args : --release --test benchmark -- --nocapture
38
38
env :
39
- TEST_URL : " postgresql://localhost/postgres?user=postgres&password=postgres"
39
+ TCP_URL : " postgresql:///postgres?host=localhost&user=postgres&password=postgres"
40
+ UDS_URL : " postgresql:///postgres?host=tests/sock&user=postgres&password=postgres"
Original file line number Diff line number Diff line change 28
28
POSTGRES_DB : postgres
29
29
ports :
30
30
- 5432:5432
31
+ volumes :
32
+ - tests/sock:/var/run/postgresql
31
33
# needed because the postgres container does not provide a healthcheck
32
34
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
33
35
steps :
50
52
version : ' 0.11.0'
51
53
args : --out Xml --all --all-features
52
54
env :
53
- TEST_URL : " postgresql://localhost/postgres?user=postgres&password=postgres"
55
+ TCP_URL : " postgresql:///postgres?host=localhost&user=postgres&password=postgres"
56
+ UDS_URL : " postgresql:///postgres?host=tests/sock&user=postgres&password=postgres"
54
57
- name : Upload to codecov.io
55
58
56
59
with :
Original file line number Diff line number Diff line change 36
36
POSTGRES_DB : postgres
37
37
ports :
38
38
- 5432:5432
39
+ volumes :
40
+ - tests/sock:/var/run/postgresql
39
41
# needed because the postgres container does not provide a healthcheck
40
42
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
41
43
steps :
59
61
command : test
60
62
args : --all --all-features --no-fail-fast -- --nocapture
61
63
env :
62
- TEST_URL : " postgresql://localhost/postgres?user=postgres&password=postgres"
64
+ TCP_URL : " postgresql:///postgres?host=localhost&user=postgres&password=postgres"
65
+ UDS_URL : " postgresql:///postgres?host=tests/sock&user=postgres&password=postgres"
You can’t perform that action at this time.
0 commit comments