29 lines
665 B
YAML
29 lines
665 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- rclrs
|
|
pull_request:
|
|
branches-ignore:
|
|
- rclrs
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
ubuntu:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: clippy
|
|
- name: Linting
|
|
run: cargo clippy --all-targets --features derive,nalgebra,rayon,serde -- -D warnings
|
|
- name: Build examples with features
|
|
run: cargo build --examples --features derive,nalgebra,rayon,serde
|
|
- name: Test library
|
|
run: cargo test --features derive,nalgebra,rayon,serde
|