From caa92fd03a4412f06546fae4b9581e11f59c1c3e Mon Sep 17 00:00:00 2001 From: Nicola Busanello Date: Fri, 23 Feb 2024 10:48:52 +0100 Subject: [PATCH] try a full test run --- .github/workflows/coverage.yaml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 24da4e7..3887dca 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -23,24 +23,11 @@ jobs: components: llvm-tools-preview toolchain: stable - #- name: Run tests - # env: - # CARGO_INCREMENTAL: "0" - # LLVM_PROFILE_FILE: "target/coverage/%p-%m.profraw" - # RUSTDOCFLAGS: "-Cinstrument-coverage" - # RUSTFLAGS: "-Cinstrument-coverage" - # run: cargo test issue - - name: Install llvm-cov run: cargo install cargo-llvm-cov - name: Generate coverage report - run: > - cargo llvm-cov --lcov --output-path coverage.lcov -- respect_max_allocations - #grcov target/coverage/ -s . --binary-path target/debug/ -t lcov --branch - #--ignore '/home/runner/work/rgb-lib/rgb-lib' --ignore '.' --ignore '../*' --ignore 'target/*' --ignore 'tests/*' --ignore-not-existing -o coverage.lcov - #run: grcov . --binary-path target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../**' --ignore '/*' -o coverage.lcov - + run: cargo llvm-cov --lcov --output-path coverage.lcov - name: Upload coverage report uses: codecov/codecov-action@v4