bixverse-rs 0.7.0

A Rust library with various utilities for computational biology and single cell.
Documentation
name: Test the Python bindings

# The name matters. python-release.yml keys its workflow_run trigger off it,
# so renaming this silently stops every release.

on:
  push:
    branches: [ main ]
    paths:
      - 'python/**'
      - 'src/**'
      - 'Cargo.toml'
      - '.github/workflows/python-test.yml'
  pull_request:
    branches: [ main ]
    paths:
      - 'python/**'
      - 'src/**'
      - 'Cargo.toml'
      - '.github/workflows/python-test.yml'

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  test:
    uses: GregorLueg/personal-actions/.github/workflows/python-maturin-test.yml@v1
    with:
      package: bixverse
      # scipy arrives via `--all-extras`; the loader tests rebuild each batch
      # into a CSR matrix to check it against the store they were written from.
      extra-deps: 'scipy'
      # CPU torch wheels: the default Linux resolution pulls multi-GB CUDA ones.
      install-args: '--all-extras --torch-backend cpu'