wt_blk 0.2.0

Parser and unpacker for the BLK file format
Documentation
on: [push]

name: Code Coverage

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1


      - uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          override: true


      - name: Install cargo-binstall
        uses: cargo-bins/cargo-binstall@install-cargo-binstall-1.0.0

      - name: Install grcov with binstall
        run: cargo binstall grcov --no-confirm

      - uses: actions-rs/cargo@v1
        with:
          command: test
          args: --all-features --no-fail-fast
        env:
          CARGO_INCREMENTAL: '0'
          RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
          RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'


      - uses: actions-rs/grcov@v0.1
        with:
          fail_ci_if_error: true


      - uses: codecov/codecov-action@v3
        with:
          verbose: true
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}