Skip to content

change reconstruct() to take KeyPackages; validate size (#523) #961

change reconstruct() to take KeyPackages; validate size (#523)

change reconstruct() to take KeyPackages; validate size (#523) #961

Workflow file for this run

name: Coverage
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
path:
- '**/*.rs'
- '**/*.txt'
- '**/Cargo.toml'
- '**/Cargo.lock'
- 'codecov.yml'
- '.github/workflows/coverage.yml'
jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v4.0.0
with:
persist-credentials: false
- uses: actions-rs/toolchain@v1.0.7
with:
toolchain: stable
override: true
profile: minimal
components: llvm-tools-preview
- name: Install cargo-llvm-cov cargo command
run: cargo install cargo-llvm-cov
- name: Run tests
run: cargo llvm-cov --lcov --no-report --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs'
- name: Generate coverage report
run: cargo llvm-cov report --lcov --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs' --output-path lcov.info
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3.1.4