Skip to content

fix: sanitize_markdown handles on* event attrs and dangerous URI schemes #101

fix: sanitize_markdown handles on* event attrs and dangerous URI schemes

fix: sanitize_markdown handles on* event attrs and dangerous URI schemes #101

Workflow file for this run

name: CI
on:
push:
branches: [ master, main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh && echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: uv sync --extra dev
- name: Type check
run: uv run mypy curator/ --ignore-missing-imports --exclude curator/legacy/
- name: Run tests with coverage
env:
CURATOR_OAI_BASE: http://localhost:8000/v1
CURATOR_OAI_KEY: test-key
CURATOR_GROK_KEY: test-key
run: uv run pytest tests/ -q --cov=curator --cov-report=term-missing --cov-fail-under=70 --cov-config=pyproject.toml
- name: Run smoke minimal
env:
CURATOR_OAI_BASE: http://localhost:8000/v1
CURATOR_OAI_KEY: test-key
CURATOR_GROK_KEY: test-key
CURATOR_LLM_ROUTE: "0"
run: bash scripts/smoke_minimal.sh