gsva-rust 0.1.0

Pure-Rust port of the GSVA family of gene-set enrichment methods (GSVA, ssGSEA, z-score, PLAGE), validated for numeric parity against the Bioconductor GSVA package.
Documentation
name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

# gsva-rust validates its port against the Bioconductor GSVA package offline:
# the synthetic-parity tests compare against reference values dumped from R at
# port time and committed as fixtures, so CI needs no R installation. (The
# real-data parity example additionally needs R plus public datasets; it is run
# locally, not in CI.) The default build pulls rayon (`parallel`) and faer
# (`faer`, the pure-Rust SVD backend used by plage); the `--no-default-features`
# build is dependency-free and pure-serial. Clippy + tests exercise both ends, and
# the MSRV job builds every feature config on the single declared minimum (1.85).
# Runs on Windows to match the development platform.
jobs:
  check:
    name: fmt + clippy + test (both feature configs)
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v4

      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy

      - name: Format
        run: cargo fmt --all -- --check

      - name: Clippy (default features)
        run: cargo clippy --all-targets -- -D warnings

      - name: Clippy (no default features)
        run: cargo clippy --no-default-features --all-targets -- -D warnings

      - name: Test (default features)
        run: cargo test

      - name: Test (no default features)
        run: cargo test --no-default-features

  msrv:
    name: MSRV 1.85 (all feature configs)
    runs-on: windows-latest
    # MSRV is a single package-level value (1.85), set by the default build's faer
    # 0.24 tree (it pulls `generativity`, which needs edition2024 / Rust 1.85).
    # Cargo cannot express a per-feature MSRV, so we pin one toolchain and prove
    # every feature config builds on it.
    steps:
      - uses: actions/checkout@v4

      - uses: dtolnay/rust-toolchain@master
        with:
          toolchain: "1.85.0"

      - name: "Build (default: parallel + faer)"
        run: cargo build

      - name: Build (parallel, no faer)
        run: cargo build --no-default-features --features parallel

      - name: Build (zero-dependency)
        run: cargo build --no-default-features