Skip to content

test: add some tests & better ci #1

test: add some tests & better ci

test: add some tests & better ci #1

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
name: Run tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all --all-features
- name: Run clippy
run: cargo clippy --all-features -- -W warnings
- name: Run fmt
run: cargo fmt --all -- --check
continue-on-error: true