Skip to content

feat: add prior_count parameter to dampen sparsity-artifact fold changes #185

feat: add prior_count parameter to dampen sparsity-artifact fold changes

feat: add prior_count parameter to dampen sparsity-artifact fold changes #185

Workflow file for this run

name: "CI"
on: [push, pull_request]
jobs:
all_jobs:
runs-on: ubuntu-latest
needs: [formatting, type-checking, pytest]
steps:
- name: Complete
run: echo "Complete"
install-job:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13", "3.12", "3.11"]
steps:
- uses: actions/checkout@v4
- name: install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
uv sync --all-extras --dev
formatting:
runs-on: ubuntu-latest
needs: [install-job]
steps:
- uses: actions/checkout@v4
- name: install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
python-version: "3.13"
- name: install dependencies
run: |
uv sync --all-extras --dev
- name: run formatting
run: |
uv run ruff format --check
type-checking:
runs-on: ubuntu-latest
needs: [install-job]
steps:
- uses: actions/checkout@v4
- name: install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
python-version: "3.13"
- name: install dependencies
run: |
uv sync --all-extras --dev
- name: run type checking
run: |
uv run ty check
pytest:
runs-on: ubuntu-latest
needs: [install-job]
steps:
- uses: actions/checkout@v4
- name: install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
python-version: "3.13"
- name: install dependencies
run: |
uv sync --all-extras --dev
- name: run pytest
run: |
uv run pytest -v