Route bars through Rust core and PyO3 bindings #70
This file contains hidden or 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: | |
| pull_request: | |
| jobs: | |
| lint-test: | |
| runs-on: ubuntu-latest | |
| env: | |
| CARGO_TERM_COLOR: always | |
| PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy,rustfmt | |
| - name: Format check | |
| run: cargo fmt -- --check | |
| - name: Clippy | |
| run: cargo clippy --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious | |
| - name: Tests (fast) | |
| run: cargo test --workspace --lib --tests --all-features -- --skip test_sadf_test |