Skip to content

fix: improve type safety and mypy configuration - Add type-safe wrapp… #26

fix: improve type safety and mypy configuration - Add type-safe wrapp…

fix: improve type safety and mypy configuration - Add type-safe wrapp… #26

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.5"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
uv venv .venv
source .venv/bin/activate
uv pip install -r requirements.txt
- name: Run tests
env:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
GENIUS_API_TOKEN: ${{ secrets.GENIUS_API_TOKEN }}
LANGFUSE_PUBLIC_KEY: ${{ secrets.LANGFUSE_PUBLIC_KEY }}
LANGFUSE_SECRET_KEY: ${{ secrets.LANGFUSE_SECRET_KEY }}
run: |
source .venv/bin/activate
uv run pytest