Add examples, integration tests and docs for simulated device and rea… #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --all-targets | |
- name: Run tests | |
run: | | |
cargo test | |
cd macros | |
cargo test | |
- name: Clippy | |
run: cargo clippy --all-targets | |
- name: Fmt | |
run: cargo fmt --all -- --check |