From 19909bc833788f85864499661e413862e735170f Mon Sep 17 00:00:00 2001 From: Andrii Yurchuk Date: Tue, 2 Mar 2021 18:03:40 +0100 Subject: [PATCH] Run cargo clean before running tarpaulin Without cleaning building often fails --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e50d2a7..7d7dd16 100644 --- a/Makefile +++ b/Makefile @@ -24,12 +24,14 @@ unit_test: cargo test --lib -- --show-output ${TEST} unit_test_coverage: install_tarpaulin + cargo clean cargo tarpaulin --lib --verbose --ignore-tests --all-features --workspace --timeout 120 --out Xml integration_test: reset_orthanc cargo test --test integration -- --test-threads=1 --show-output ${TEST} integration_test_coverage: install_tarpaulin_HEAD reset_orthanc + cargo clean cargo tarpaulin --test integration --follow-exec --verbose --ignore-tests --all-features --workspace --timeout 120 --out Xml -- --test-threads=1 install_tarpaulin: