Skip to content

Feat: add genome/cai.py — per-gene Codon Adaptation Index #44

Feat: add genome/cai.py — per-gene Codon Adaptation Index

Feat: add genome/cai.py — per-gene Codon Adaptation Index #44

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: uv python install 3.12
- run: uv sync --python 3.12 --extra dev
- run: uv run ruff check src tests
- run: uv run black --check src/ tests/
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- run: uv sync --extra dev --extra all
- run: uv run pytest tests/
- run: uv build