File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed
Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,19 @@ jobs:
144144
145145 runs-on : ubuntu-latest
146146
147+ services :
148+ postgres :
149+ image : postgres
150+ env :
151+ POSTGRES_PASSWORD : mysecretpassword
152+ options : >-
153+ --health-cmd pg_isready
154+ --health-interval 10s
155+ --health-timeout 5s
156+ --health-retries 5
157+ ports :
158+ - 5432:5432
159+
147160 steps :
148161 - uses : actions/checkout@v3
149162
@@ -179,7 +192,7 @@ jobs:
179192 RUSTFLAGS : " -Cinstrument-coverage"
180193 LLVM_PROFILE_FILE : " libp2p-rust-dht-%p-%m.profraw"
181194 run : |
182- cargo test --verbose
195+ cargo test --verbose --all
183196
184197 - name : Get coverage data for codecov
185198 run : |
@@ -226,6 +239,19 @@ jobs:
226239
227240 runs-on : ubuntu-latest
228241
242+ services :
243+ postgres :
244+ image : postgres
245+ env :
246+ POSTGRES_PASSWORD : mysecretpassword
247+ options : >-
248+ --health-cmd pg_isready
249+ --health-interval 10s
250+ --health-timeout 5s
251+ --health-retries 5
252+ ports :
253+ - 5432:5432
254+
229255 steps :
230256 - uses : actions/checkout@v3
231257
@@ -271,7 +297,7 @@ jobs:
271297 RUSTFLAGS : " -Cinstrument-coverage"
272298 LLVM_PROFILE_FILE : " libp2p-rust-dht-%p-%m.profraw"
273299 run : |
274- cargo test --verbose
300+ cargo test --verbose --all
275301
276302 - name : Run grcov
277303 run : |
You can’t perform that action at this time.
0 commit comments