Skip to content

Commit

Permalink
try a full test run
Browse files Browse the repository at this point in the history
  • Loading branch information
nicbus committed Feb 23, 2024
1 parent 2f589cf commit caa92fd
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit caa92fd

Please sign in to comment.