Skip to content

Fix maturin caching #21

Fix maturin caching

Fix maturin caching #21

Workflow file for this run

name: PR Tests
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: true
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
enable-cache: true
- name: Run Rust tests
run: CARGO_LOG=cargo::core::compiler::fingerprint=trace cargo test
- name: Run clippy linting
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Check Rust formatting
run: cargo fmt --all -- --check
- name: Install procstar
run: CARGO_LOG=cargo::core::compiler::fingerprint=trace MATURIN_PROFILE=dev uv pip install -vv -e .
- name: Run Python tests
run: uv run pytest