Skip to content

exclude Default impls from coverage reporting #48

exclude Default impls from coverage reporting

exclude Default impls from coverage reporting #48

Workflow file for this run

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:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
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