Skip to content

feat: added coverage #20

feat: added coverage

feat: added coverage #20

Workflow file for this run

name: coverage
on: [push, pull_request]
jobs:
coverage:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Generate code coverage
run: |
cargo install cargo-tarpaulin
cargo tarpaulin --engine llvm --fail-under=14