From 8b34f74291f40314994eef66d8a028727722f681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gonz=C3=A1lez?= Date: Wed, 20 Sep 2023 13:02:05 +0100 Subject: [PATCH] ci/coverage: Fix cargo-tarpaulin version to 0.26.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The nightly coverage build is currently failing as it is failing to compile the cargo-tarpaulin crate 0.27.0 with the rust compiler 1.66 (our current MSRV). We cannot upgrade the current MSRV because certain distros need that version, so we can only: * Fix the version of cargo-tarpaulin to 0.26.1 This version should be unfixed when the MSRV upgrade is performed. Signed-off-by: Tomás González --- ci.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci.sh b/ci.sh index 5ca0384c..e9ac5dce 100755 --- a/ci.sh +++ b/ci.sh @@ -253,7 +253,8 @@ if [ "$PROVIDER_NAME" = "coverage" ]; then EXCLUDES="fuzz/*,e2e_tests/*,src/providers/cryptoauthlib/*,src/authenticators/jwt_svid_authenticator/*" UNIT_TEST_FEATURES="unix-peer-credentials-authenticator,direct-authenticator" # Install tarpaulin - cargo +${MSRV} install cargo-tarpaulin + # TODO: Stop using the --version parameter when MSRV is upgraded. + cargo +${MSRV} install cargo-tarpaulin --version 0.26.1 mkdir -p reports