File tree 1 file changed +11
-2
lines changed 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 80
80
DATABASE_URL : postgres://postgres:postgres@localhost/cargo_registry_test
81
81
TEST_DATABASE_URL : postgres://postgres:postgres@localhost/cargo_registry_test
82
82
CARGO_INCREMENTAL : 0
83
- RUSTFLAGS : " -C debuginfo=0 - D warnings"
83
+ RUSTFLAGS : " -D warnings"
84
84
MALLOC_CONF : " background_thread:true,abort_conf:true,abort:true,junk:true"
85
85
86
86
services :
@@ -197,7 +197,16 @@ jobs:
197
197
cargo fmt -- --check
198
198
cargo clippy --all-targets --all-features --all
199
199
200
- - name : Test
200
+ - name : Install cargo-tarpaulin
201
+ if : matrix.rust == 'stable'
202
+ run : which cargo-tarpaulin || cargo install cargo-tarpaulin
203
+
204
+ - name : Run tests (with coverage report)
205
+ if : matrix.rust == 'stable'
206
+ run : cargo tarpaulin
207
+
208
+ - name : Run tests
209
+ if : matrix.rust != 'stable'
201
210
run : cargo test
202
211
203
212
- name : Prune unnecessary cache
You can’t perform that action at this time.
0 commit comments