From 07b215e885cdb7578dccb6e2b37b4daf03403ebf Mon Sep 17 00:00:00 2001 From: Roman Zajic Date: Wed, 30 Oct 2024 17:15:27 +0800 Subject: [PATCH] fix: Codecov workflow output directory cleanup (#866) * fix: self-hosted runner needs clean up * fix: remove on push trigger --- .github/workflows/codecov.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index c587f6b3..f08e4043 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -48,6 +48,7 @@ jobs: args: --all --no-default-features --features libp2p - name: Run Grcov run: | + rm -rf /tmp/coverage cargo binstall -y grcov; mkdir /tmp/coverage; grcov . --binary-path ./target/debug -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/coverage/tests.lcov;