Skip to content

chore: gitignore .web-research/ after purging it from history #11

chore: gitignore .web-research/ after purging it from history

chore: gitignore .web-research/ after purging it from history #11

Workflow file for this run

name: python
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
python:
name: python (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-14]
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: "."
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
enable-cache: true
- name: Set up Python
run: uv python install 3.11
- name: uv sync --all-extras --all-packages
run: uv sync --all-extras --all-packages
- name: Build ki_native (PyO3)
# `maturin develop` installs the wheel editable into the
# workspace .venv so kc_ping / kiserver can import it.
run: |
cd crates/ki
uv tool install maturin
VIRTUAL_ENV=$GITHUB_WORKSPACE/.venv maturin develop --features python
- name: uv run ruff check
run: uv run ruff check services/
- name: uv run mypy --strict
run: uv run mypy services/
- name: uv run pytest
run: uv run pytest services/