build(deps): bump h2 from 0.3.24 to 0.3.26 in /examples #223
Workflow file for this run
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: Coverage | |
on: [push, pull_request] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
target: x86_64-unknown-linux-gnu | |
toolchain: nightly | |
override: true | |
components: rustfmt | |
- name: Install grcov | |
run: curl -L https://github.com/mozilla/grcov/releases/download/v0.6.1/grcov-linux-x86_64.tar.bz2 | tar jxf - | |
- name: Install rust-covfix | |
run: | | |
curl -L https://github.com/Kogia-sima/rust-covfix/releases/download/v0.2.2/rust-covfix-linux-x86_64.tar.xz |tar Jxf - | |
mv rust-covfix-linux-x86_64/rust-covfix ./ | |
- name: Test all crates | |
env: | |
CARGO_INCREMENTAL: 0 | |
RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -C panic=abort | |
RUSTDOCFLAGS: -C panic=abort | |
run: | | |
cargo build --all-features --workspace | |
cargo test --all-features --workspace | |
- name: collect coverages | |
run: | | |
zip -0 ccov.zip `find . \( -name "sailfish*.gc*" -o -name "integration_tests*.gc*" \) -print` | |
./grcov ccov.zip --llvm --branch -t lcov -o lcov.info --ignore "/*" --ignore "sailfish-tests/*" | |
- name: fix coverages | |
run: ./rust-covfix -o lcov.info lcov.info | |
- name: upload coverage | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./lcov.info |