rust account_role module unit test coverage #51
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: dev-rule | |
on: | |
push: | |
paths: | |
- 'services/rule/**' | |
- 'crates/**' | |
branches-ignore: | |
- 'master' | |
jobs: | |
test: | |
name: rule | |
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: linting | |
run: | | |
cargo fmt -- --check | |
cargo clippy -- -Dwarnings | |
- name: unit tests and coverage | |
run: cargo tarpaulin |