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