Skip to content

[Optimization 4/n] Add Kernel Optimization Template to PromptManager #245

[Optimization 4/n] Add Kernel Optimization Template to PromptManager

[Optimization 4/n] Add Kernel Optimization Template to PromptManager #245

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: Set up Python
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv venv
uv pip install -e ".[dev]"
- name: Run tests
run: |
uv run pytest tests/ -v
- name: Check imports
run: |
uv run python -c "import triton_kernel_agent; from triton_kernel_agent import TritonKernelAgent"