Skip to content

SuperOptiX Harness

SuperOptiX Harness #77

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v1
with:
version: "latest"
- name: Install dependencies
run: uv sync --frozen --extra dev --extra testing --extra turboagents
- name: Run Ruff
run: |
uv run --no-sync ruff check .
uv run --no-sync ruff format --check .
- name: Run tests
run: |
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 uv run --no-sync pytest -p pytest_asyncio.plugin tests/
- name: Run type checking
run: |
uv run --no-sync mypy superoptix/ --no-error-summary || echo "Type checking completed with warnings"