Observation Data QC improvements #1152
Workflow file for this run
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: rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libudev-dev | |
- name: Build (Default) | |
run: cargo build | |
- name: Test (Default) | |
run: cargo test -- --nocapture | |
- name: Build (All features) | |
run: cargo build --all-features | |
- name: Test (All features) | |
run: cargo test --all-features -- --nocapture | |
- name: Coding style | |
run: cargo fmt --all -- --check |