update dependencies #49
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: Test | |
| on: [push, pull_request] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test-rust: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Test | |
| run: cargo test --verbose | |
| - name: Clippy | |
| run: cargo clippy --all-features -- -D warnings | |
| - name: Fmt | |
| run: cargo fmt --check | |
| test-py: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: rormula | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Run CI | |
| run: | | |
| python3 -m venv .venv | |
| . .venv/bin/activate | |
| pip3 install -r requirements-dev.txt | |
| maturin develop | |
| pytest test | |
| ruff check . |