Skip to content

feat: implement error handling wrappers in graph nodes and add chaos … #11

feat: implement error handling wrappers in graph nodes and add chaos …

feat: implement error handling wrappers in graph nodes and add chaos … #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv venv
uv pip install -e ".[dev]"
- name: Lint (ruff check)
run: uv run ruff check .
- name: Format check (ruff format)
run: uv run ruff format --check .
- name: Type check (mypy)
run: uv run mypy src/ --ignore-missing-imports
- name: Unit tests (pytest)
run: uv run pytest tests/ -v --tb=short -x
env:
# Prevent tests from trying to connect to real LLM APIs
LLM_PROVIDER: gemini
GEMINI_API_KEY: test-key-not-used
PHOENIX_COLLECTOR_ENDPOINT: ""