From 92dba346c0ce8af2507acf68d2899ed44f8d09c3 Mon Sep 17 00:00:00 2001 From: Gianmarco Fraccaroli <> Date: Mon, 12 Feb 2024 11:18:34 +0100 Subject: [PATCH] fix code codecov --- .github/workflows/build-and-test.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 70d1ecddb4..e1f69a38aa 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -267,7 +267,7 @@ jobs: NAMADA_MASP_PARAMS_DIR: /home/runner/.masp-params RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold" - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: lcov.info fail_ci_if_error: true diff --git a/Makefile b/Makefile index d22cb7db11..d8b389b5a8 100644 --- a/Makefile +++ b/Makefile @@ -207,9 +207,9 @@ test-unit: -Z unstable-options --report-time test-unit-with-coverage: - $(cargo) +$(nightly) llvm-cov --output-dir target \ + $(cargo) +$(nightly) llvm-cov --output-path lcov.info \ --features namada/testing \ - --html \ + --lcov \ -- --skip e2e --skip pos_state_machine_test --skip integration \ -Z unstable-options --report-time