Skip to content

Feature v0.5.0

Feature v0.5.0 #18

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: "Setup: Install Rust"
uses: actions-rust-lang/[email protected]
with:
components: llvm-tools-preview
- name: "Setup: Install cargo-llvm-cov"
uses: taiki-e/[email protected]
with:
tool: cargo-llvm-cov
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Format
run: cargo fmt --package redsumer --all --check
- name: Lints
run: cargo clippy --package redsumer --all-features --verbose
- name: Unit Tests
run: cargo test --package redsumer --verbose
- name: Coverage
env:
MIN_LINE_COVERAGE_TARGET: 80
run: cargo llvm-cov --package redsumer --all-features --summary-only --fail-under-lines ${{ env.MIN_LINE_COVERAGE_TARGET }}