From 624c4b09af20608ef576141ab5254ee9a0b27c5b Mon Sep 17 00:00:00 2001 From: Dorival Pedroso Date: Tue, 30 Apr 2024 22:34:42 +1000 Subject: [PATCH] Use features in the cargo llvm-cov command --- .github/workflows/test_and_coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_and_coverage.yml b/.github/workflows/test_and_coverage.yml index b053d7a8..a159e5fb 100644 --- a/.github/workflows/test_and_coverage.yml +++ b/.github/workflows/test_and_coverage.yml @@ -27,7 +27,7 @@ jobs: curl -LsSf https://github.com/taiki-e/cargo-llvm-cov/releases/latest/download/cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C ~/.cargo/bin - name: Generate code coverage run: | - cargo llvm-cov --workspace --ignore-filename-regex 'build.rs|mem_check.rs|mem_check_lab.rs|solve_matrix_market.rs|amplifier1t.rs|brusselator_pde.rs' --lcov --output-path lcov.info + cargo llvm-cov --workspace --features with_mumps --ignore-filename-regex 'build.rs|mem_check.rs|mem_check_lab.rs|solve_matrix_market.rs|amplifier1t.rs|brusselator_pde.rs' --lcov --output-path lcov.info - name: Upload to codecov.io uses: codecov/codecov-action@v4 with: