From 8da64218bad200b07d8e790ae805a063173a5e26 Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Fri, 17 Nov 2023 13:33:31 -0800 Subject: [PATCH] ci: Fetch tarpaulin binary instead of compiling (#2532) This should shave 2+ minutes off of coverage tests. --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index bfd0d82516..dced3f5aed 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -31,7 +31,7 @@ jobs: steps: # XXX(ver) Workaround for a linking problem in the binary we store in the # devcontainer. - - run: rm -f /usr/local/bin/cargo-tarpaulin && cargo install cargo-tarpaulin + - run: scurl https://github.com/xd009642/tarpaulin/releases/download/0.27.1/cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz | tar -C /usr/local/bin -zxvf - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # linkerd-transport-header and opencencus-proto tests only check codegen. - run: cargo tarpaulin --locked --workspace --exclude=linkerd2-proxy --exclude=linkerd-transport-header --exclude=opencensus-proto --no-run