Skip to content

ci: include more tests #20

ci: include more tests

ci: include more tests #20

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Clippy
run: |
rustup component add clippy
cargo clippy --all-targets --all-features
- name: Coverage
run: |
cargo install cargo-tarpaulin
cargo tarpaulin --all-targets --all-features --out stdout --engine llvm
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --all-targets
- name: Run tests (Standard)
run: cargo test --verbose --all-targets
- name: Run tests (Encoding Only)
run: cargo test --verbose --all-targets --no-default-features --features=encoding
- name: Run tests (No Features)
run: cargo test --verbose --all-targets --no-default-features
- name: Run tests (All Features)
run: cargo test --verbose --all-targets --all-features