Skip to content

Add .extract_data(); setup CI; various fixes #17

Add .extract_data(); setup CI; various fixes

Add .extract_data(); setup CI; various fixes #17

Workflow file for this run

name: Test - Python
on:
push:
branches: [main]
paths:
- 'chatlas/*'
- 'pyproject.toml'
- 'uv.lock'
- '.github/workflows/py-test.yml'
pull_request:
paths:
- 'chatlas/*'
- 'pyproject.toml'
- 'uv.lock'
- '.github/workflows/py-test.yml'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: πŸš€ Install uv
uses: astral-sh/setup-uv@v2
- name: 🐍 Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: πŸ“¦ Install the project
run: uv sync --python ${{ matrix.python-version }} --all-extras
- name: πŸ§ͺ Check tests
run: make py-check-tests
- name: πŸ“ Check types
run: make py-check-types
- name: πŸ“ Check formatting
run: make py-check-format