Skip to content

feat: add COCOINDEX_CODE_DB_PATH_MAPPING for custom database locations #228

feat: add COCOINDEX_CODE_DB_PATH_MAPPING for custom database locations

feat: add COCOINDEX_CODE_DB_PATH_MAPPING for custom database locations #228

Workflow file for this run

name: Pre-commit
on:
pull_request:
push:
branches:
- main
jobs:
pre-commit:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.11', '3.14t']
exclude:
# pywin32 doesn't have wheels for Python 3.14t (free-threaded) on Windows yet
- os: windows-latest
python-version: '3.14t'
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }} --python-preference only-managed
- name: Lint & format (prek)
run: uv run prek run --all-files --verbose --show-diff-on-failure --skip pytest
- name: Test (pytest)
run: uv run pytest tests/ -v