Skip to content

Update README.md

Update README.md #278

Workflow file for this run

name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
ci:
name: Clippy, test, and build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install system dependencies (Dockerfile parity)
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
capnproto \
cmake \
curl \
libclang-dev \
libhdf5-dev \
libnetcdf-dev \
libsqlite3-dev \
netcdf-bin \
software-properties-common \
sqlite3 \
wget
- name: Install Rust (1.91)
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.91"
components: clippy
- name: Cargo cache
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy --workspace --lib --bins --tests
- name: Run tests
env:
RUST_BACKTRACE: "1"
run: cargo test --workspace --no-fail-fast --lib --bins --tests
- name: Build
run: cargo build --workspace