Skip to content

Testing

Testing #8

Workflow file for this run

name: Testing
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Testing
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v4
- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
components: llvm-tools-preview
- id: cache
name: Enable Job Cache
uses: Swatinem/rust-cache@v2
- id: test
name: Run Unit Tests
run: cargo test --tests --examples --workspace --all-features