Skip to content

Different packet size type support #58

Different packet size type support

Different packet size type support #58

Workflow file for this run

name: Test coverage
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true
jobs:
test-coverage:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
with:
path: 'mfio-repo'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-10-01
override: true
- run: cargo install grcov
- name: Run tests with coverage
run: |
cd mfio-repo
export CARGO_INCREMENTAL=0
export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
export RUSTDOCFLAGS="-Cpanic=abort"
cargo build --workspace --exclude mfio-derive --all-features
cargo test --workspace --exclude mfio-derive --all-features
grcov ./target/debug/ -s . -t lcov --llvm --branch --ignore-not-existing -o ./target/debug/coverage
bash <(curl -s https://codecov.io/bash) -f ./target/debug/coverage -t ${{ secrets.CODECOV_TOKEN }};