Task | FnVaFft | Threshold filtering #590
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo Test Coverage | |
on: | |
# push: | |
pull_request: | |
env: | |
TERM: dumb | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: '-Cinstrument-coverage' | |
LLVM_PROFILE_FILE: "target/coverage/%p-%m.profraw" | |
jobs: | |
build_and_test: | |
name: Coverage | |
runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# toolchain: | |
# - stable | |
# - beta | |
# - nightly | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
# uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
# profile: minimal | |
toolchain: stable | |
override: true | |
- name: Test-Coverage analisis | |
run: | | |
cargo install grcov | |
rustup component add llvm-tools-preview | |
# cargo test --release --no-fail-fast | |
./.github/workflows/coverage.sh | |