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 1313 ports :
1414 - 5432:5432
1515 volumes :
16- -
16+ - tests/sock:/var/run/postgresql
1717 # needed because the postgres container does not provide a healthcheck
1818 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1919 steps :
3636 command : test
3737 args : --release --test benchmark -- --nocapture
3838 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 2828 POSTGRES_DB : postgres
2929 ports :
3030 - 5432:5432
31+ volumes :
32+ - tests/sock:/var/run/postgresql
3133 # needed because the postgres container does not provide a healthcheck
3234 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
3335 steps :
5052 version : ' 0.11.0'
5153 args : --out Xml --all --all-features
5254 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"
5457 - name : Upload to codecov.io
5558 uses : codecov/codecov-action@v1.0.2
5659 with :
Original file line number Diff line number Diff line change 3636 POSTGRES_DB : postgres
3737 ports :
3838 - 5432:5432
39+ volumes :
40+ - tests/sock:/var/run/postgresql
3941 # needed because the postgres container does not provide a healthcheck
4042 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
4143 steps :
5961 command : test
6062 args : --all --all-features --no-fail-fast -- --nocapture
6163 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