feat: add conversions from v1 node and storage threshold parameters #670
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 (Windows) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
env: | |
CARGO_INCREMENTAL: 0 | |
CARGO_TERM_COLOR: always | |
# Make sure CI fails on all warnings, including Clippy lints | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: swatinem/rust-cache@v2 | |
- name: Run Clippy | |
run: cargo clippy --all-targets --features highs,cbc | |
- name: Build | |
run: cargo build --verbose --features highs,cbc --workspace --exclude ipm-simd --exclude pywr-python | |
- name: Run tests | |
# Only test the library and binaries, not the docs | |
# There were some issues with the docs tests timing out on Windows CI | |
run: cargo test --features highs,cbc --verbose --lib --bins -- --test-threads=1 |