@@ -15,7 +15,8 @@ concurrency:
1515env :
1616 CARGO_TERM_COLOR : always
1717 RUST_BACKTRACE : full
18- THEGRAPH_STORE_POSTGRES_DIESEL_URL : " postgresql://postgres:postgres@localhost:5432/graph_node_test"
18+ RUSTFLAGS : " -C link-arg=-fuse-ld=lld -D warnings"
19+ THEGRAPH_STORE_POSTGRES_DIESEL_URL : " postgresql://postgres@localhost:5432/graph-test"
1920
2021jobs :
2122 unit-tests :
@@ -28,21 +29,19 @@ jobs:
2829 ports :
2930 - 5001:5001
3031 postgres :
31- image : postgres
32+ image : bitnami/postgresql
3233 env :
33- POSTGRES_PASSWORD : postgres
34- POSTGRES_DB : graph_node_test
35- POSTGRES_INITDB_ARGS : " -E UTF8 --locale=C"
36- POSTGRESQL_EXTRA_FLAGS : " -c max_connections=1000 "
34+ ALLOW_EMPTY_PASSWORD : yes
35+ POSTGRESQL_DB : graph-test
36+ POSTGRESQL_INITDB_ARGS : " -E UTF8 --locale=C"
37+ POSTGRESQL_MAX_CONNECTIONS : 500
3738 options : >-
3839 --health-cmd pg_isready
3940 --health-interval 10s
4041 --health-timeout 5s
4142 --health-retries 5
4243 ports :
4344 - 5432:5432
44- env :
45- RUSTFLAGS : " -C link-arg=-fuse-ld=lld -D warnings"
4645 steps :
4746 - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
4847 - name : Setup dependencies
@@ -76,22 +75,17 @@ jobs:
7675 postgres :
7776 image : bitnami/postgresql
7877 env :
79- POSTGRES_PASSWORD : postgres
80- POSTGRES_DB : graph_node_test
81- POSTGRES_INITDB_ARGS : " -E UTF8 --locale=C"
82- POSTGRESQL_EXTRA_FLAGS : " -c max_connections=1000"
83- POSTGRESQL_REPLICATION_USE_PASSFILE : no
78+ ALLOW_EMPTY_PASSWORD : yes
79+ POSTGRESQL_DB : graph-test
80+ POSTGRESQL_INITDB_ARGS : " -E UTF8 --locale=C"
81+ POSTGRESQL_MAX_CONNECTIONS : 500
8482 options : >-
85- --health-cmd " pg_isready -U postgres"
83+ --health-cmd pg_isready
8684 --health-interval 10s
8785 --health-timeout 5s
88- --health-retries 10
86+ --health-retries 5
8987 ports :
9088 - 5432:5432
91- env :
92- GRAPH_IPFS_REQUEST_TIMEOUT : " 60"
93- RUSTFLAGS : " -C link-arg=-fuse-ld=lld -D warnings --cfg test_with_ipfs"
94- RUNNER_TESTS_WAIT_FOR_SYNC_SECS : " 600"
9589 steps :
9690 - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
9791 - name : Setup dependencies
@@ -141,16 +135,13 @@ jobs:
141135 POSTGRES_PASSWORD : let-me-in
142136 POSTGRES_DB : graph-node
143137 POSTGRES_INITDB_ARGS : " -E UTF8 --locale=C"
144- POSTGRESQL_EXTRA_FLAGS : " -c max_connections=1000"
145138 options : >-
146- --health-cmd pg_isready
139+ --health-cmd " pg_isready -U graph-node"
147140 --health-interval 10s
148141 --health-timeout 5s
149142 --health-retries 5
150143 ports :
151144 - 3011:5432
152- env :
153- RUSTFLAGS : " -C link-arg=-fuse-ld=lld -D warnings"
154145 steps :
155146 - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
156147 - name : Setup dependencies
0 commit comments