From bec8491dfc5878a9f8088b76ebdacfe9decfeaf0 Mon Sep 17 00:00:00 2001 From: Giacomo Pasini Date: Thu, 12 Sep 2024 11:15:13 +0200 Subject: [PATCH] clean before tests --- .github/workflows/codecov.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index dbd89bde1..a5859b5f7 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -36,8 +36,12 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | cargo binstall -y grcov; - cargo build --all --no-default-features --features libp2p + cargo build --bins --no-default-features --features libp2p + mkdir bcp + cp ./target/debug/{nomos-cli,nomos-node,rocks} bcp/ + cargo clean cargo test --no-default-features --features libp2p + cp bcp/* ./target/debug mkdir /tmp/cov; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov; env: