Skip to content

rust types crate minimum unit test coverage #8

rust types crate minimum unit test coverage

rust types crate minimum unit test coverage #8

Workflow file for this run

name: dev-crates
on:
push:
paths:
- 'crates/**'
branches-ignore:
- 'master'
jobs:
test:
name: crates
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
env:
CI: true
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy, rustfmt
- uses: taiki-e/install-action@nextest
- name: crates/types lint
run: |
cargo fmt -- --check
cargo clippy -- -Dwarnings
working-directory: crates/types
- name: crates/types unit tests and coverage report
run: cargo tarpaulin --fail-under 95
working-directory: crates/types